Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectContentTypeFile ¶
DetectContentTypeFile detects the media type by reading MIME type information of the file content.
func DetectContentTypeReadSeeker ¶
func DetectContentTypeReadSeeker(rs io.ReadSeeker, resetPointer bool) (string, error)
DetectContentTypeReadSeeker detects the media type by reading MIME type information of an `io.ReadSeeker`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.