Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentType ¶
type ContentType string
const ( ContentTypeImgPNG ContentType = "img/png" ContentTypeImgJPEG ContentType = "img/jpeg" ContentTypeAudio ContentType = "audio/mpeg" ContentTypePlainText ContentType = "text/plain" )
func Audio ¶
func Audio() ContentType
func ImgJPEG ¶
func ImgJPEG() ContentType
func ImgPNG ¶
func ImgPNG() ContentType
func PlainText ¶
func PlainText() ContentType
func (*ContentType) String ¶
func (c *ContentType) String() string
Click to show internal directories.
Click to hide internal directories.