mime

package
v0.0.0-...-e8513ac Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ExtensionMIMEType = map[string]string{}/* 367 elements not displayed */

)

Functions

func DeleteContentType

func DeleteContentType(name string, content ...io.ReadSeeker) (contentType string, err error)

func GetFileContentType

func GetFileContentType(r io.Reader) (contentType string, err error)

func Lookup

func Lookup(extension string) (mimeType string, exist bool)

func Set

func Set(extension, mimeType string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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