Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Header ¶
type Header = string
const ( // text HEADER_TXT Header = "text/plain; charset=utf-8" HEADER_HTML Header = "text/html; charset=utf-8" HEADER_CSS Header = "text/css; charset=utf-8" HEADER_JS Header = "text/javascript; charset=utf-8" HEADER_JSON Header = "application/json; charset=utf-8" // image HEADER_PNG Header = "image/png" HEADER_JPG Header = "image/jpeg" HEADER_GIF Header = "image/gif" HEADER_SVG Header = "image/svg+xml" HEADER_WEBP Header = "image/webp" // video HEADER_WEBM Header = "video/webm" HEADER_MP4 Header = "video/mp4" // audio HEADER_WEBA Header = "audio/weba" HEADER_MP3 Header = "audio/mpeg" HEADER_OGG Header = "application/ogg" // font HEADER_TTF Header = "font/ttf" HEADER_OTF Header = "font/otf" HEADER_WOFF Header = "font/woff" HEADER_WOFF2 Header = "font/woff2" )
MIME types
Click to show internal directories.
Click to hide internal directories.