Added non-standard p/PNG type
This commit is contained in:
parent
72a0de2f13
commit
b206825c57
|
@ -54,6 +54,7 @@ const (
|
||||||
INFO = ItemType('i') // Item is an informational message
|
INFO = ItemType('i') // Item is an informational message
|
||||||
HTML = ItemType('h') // Item is a HTML document
|
HTML = ItemType('h') // Item is a HTML document
|
||||||
AUDIO = ItemType('s') // Item is an Audio file
|
AUDIO = ItemType('s') // Item is an Audio file
|
||||||
|
PNG = ItemType('p') // Item is a PNG Image
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -138,6 +139,8 @@ func (it ItemType) String() string {
|
||||||
return "HTML"
|
return "HTML"
|
||||||
case AUDIO:
|
case AUDIO:
|
||||||
return "AUDIO"
|
return "AUDIO"
|
||||||
|
case PNG:
|
||||||
|
return "PNG"
|
||||||
default:
|
default:
|
||||||
return "UNKNOWN"
|
return "UNKNOWN"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue