Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnsupportedMimeType = errors.New("unsupported MIME type")
)
Functions ¶
func DetectMimeType ¶
DetectMimeType returns the file MIME type
func ValidMimeTypes ¶
func ValidMimeTypes() []string
ValidMimeTypes returns the list of supported MIME types.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.