file

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultMimeType = "audio/mpeg"
)

Variables

This section is empty.

Functions

func GetAllFiles

func GetAllFiles(dir string) ([]string, error)

func GetLocalFileMimeType

func GetLocalFileMimeType(filePath string) string

获取文件MimeType

func GetRemoteFileMIMEType

func GetRemoteFileMIMEType(url, username, pwd string) string

获取远程文件的MIME Type

Types

This section is empty.

Jump to

Keyboard shortcuts

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