Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ExtensionMIMEType ... ExtensionMIMEType = map[string]string{}/* 367 elements not displayed */ )
Functions ¶
func DetectContentType ¶
func DetectContentType(name string, content ...io.ReadSeeker) (contentType string, err error)
检测内容类型
func GetFileContentType ¶
GetFileContentType 获取文件流的ContentType
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.