mimetypes

package
v2.0.33 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

README

#Mimetypes

Mimetypes are based on mime-db:

https://github.com/jshttp/mime-db

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MimeExt

type MimeExt struct {
	// contains filtered or unexported fields
}

func NewMimeExt

func NewMimeExt() *MimeExt

func (*MimeExt) Add

func (me *MimeExt) Add(mime, ext string)

func (*MimeExt) GetExt

func (me *MimeExt) GetExt(mime string) []string

func (*MimeExt) GetMime

func (me *MimeExt) GetMime(ext string) []string

func (*MimeExt) Init

func (me *MimeExt) Init()

func (*MimeExt) SPrintExt2Mime

func (me *MimeExt) SPrintExt2Mime() string

func (*MimeExt) SPrintMime2Ext

func (me *MimeExt) SPrintMime2Ext() string

Jump to

Keyboard shortcuts

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