mime

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAllPrintableChar

func IsAllPrintableChar(bytes []byte) bool

IsAllPrintableChar checks for the printable chars

func IsPrintableChar

func IsPrintableChar(char byte) bool

IsPrintableChar checks if a type is printable

func MimeForExtension

func MimeForExtension(extension string) (string, error)

MimeForExtension lookup short code to string extensions

func MimeForFileName

func MimeForFileName(filename string) (string, error)

MimeForFileName utility mimetype lokup

Types

This section is empty.

Jump to

Keyboard shortcuts

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