store

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultExpireTime default signed url expire time, 10min
	DefaultExpireTime = time.Second * 10 * 60
)

Variables

This section is empty.

Functions

func TypeByExtension

func TypeByExtension(ext string) (mimeType string)

TypeByExtension returns the MIME type associated with the file extension ext The extension ext should begin with a leading dot, as in ".html" When ext has no associated type, TypeByExtension returns "application/octet-stream"

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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