Added non-standard p/PNG type

This commit is contained in:
James Mills 2016-09-22 23:48:35 +10:00
parent 72a0de2f13
commit b206825c57
No known key found for this signature in database
GPG Key ID: AC4C014F1440EBD6
1 changed files with 3 additions and 0 deletions

View File

@ -54,6 +54,7 @@ const (
INFO = ItemType('i') // Item is an informational message
HTML = ItemType('h') // Item is a HTML document
AUDIO = ItemType('s') // Item is an Audio file
PNG = ItemType('p') // Item is a PNG Image
)
const (
@ -138,6 +139,8 @@ func (it ItemType) String() string {
return "HTML"
case AUDIO:
return "AUDIO"
case PNG:
return "PNG"
default:
return "UNKNOWN"
}