Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Types = map[string]string{}/* 1112 elements not displayed */
Types defines a map of possible mime types to be compared.
Functions ¶
func IsValidMime ¶
IsValidMime
Checks a whitelist of MIME types and returns true if the file is in the whitelist.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.