Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultExpireTime default signed url expire time, 10min DefaultExpireTime = time.Second * 10 * 60 )
Variables ¶
This section is empty.
Functions ¶
func TypeByExtension ¶
TypeByExtension returns the MIME type associated with the file extension ext The extension ext should begin with a leading dot, as in ".html" When ext has no associated type, TypeByExtension returns "application/octet-stream"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.