common

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2025 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// 0755 owner can read/write/execute, group/others can read/execute.
	DefaultDirPermission = 0755

	// 0644 owner can read/write, group/others can read only
	DefaultFilePermission = 0644
)

Variables

View Source
var (
	HTTPMethodTypes = []string{"GET", "POST", "PUT", "DELETE", "CONNECT", "HEAD", "OPTIONS", "TRACE", "PATH"}
	SizeUnitTypes   = []string{"KB", "MB", "GB", "TB", "PB"}
)

Functions

func GetLanguages

func GetLanguages() (languages []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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