mime

package
v0.0.0-...-c0c7c65 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TEXT MIME
	TEXT = "text/plain;charset=utf-8"
	// HTML MIME
	HTML = "text/html;charset=utf-8"
	// JS MIME
	JS = "text/javascript;charset=utf-8"
	// CSS  MIME
	CSS = "text/css;charset=utf-8"
	// JSON MIME
	JSON = "application/json;charset=utf-8"
	// XML  MIME
	XML = "application/xml;charset=utf-8"

	// BMP  MIME
	BMP = "image/bmp"
	// JPG  MIME
	JPG = "image/jpg"
	// PNG  MIME
	PNG = "image/png"
	// GIF  MIME
	GIF = "image/gif"
	// ICO  MIME
	ICO = "image/ico"

	// ZIP  MIME
	ZIP = "application/zip"
	// TAR  MIME
	TAR = "application/x-tar"
	// GZIP MIME
	GZIP = "application/x-gzip"
	// TGZ  MIME
	TGZ = "application/x-tgz"
	// RAR  MIME
	RAR = "application/x-rar-compressed"
	// ZIP7 MIME
	ZIP7 = "application/x-7z-compressed"

	// XLS  MIME
	XLS = "application/vnd.ms-excel"
	// XLSX MIME
	XLSX = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
	// DOC  MIME
	DOC = "application/msword"
	// DOCX MIME
	DOCX = "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
	// PPT  MIME
	PPT = "application/vnd.ms-powerpoint"
	// PPTX MIME
	PPTX = "application/vnd.openxmlformats-officedocument.presentationml.presentation"

	// BINARY MIME
	BINARY = "application/octet-stream"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL