Documentation ¶
Index ¶
- Variables
- func AppendTimeSecond(buf []byte, t time.Time) []byte
- func AsciiToLowerCase(input string) string
- func ByteToHex(b byte) (high, low byte)
- func CleanUrlPath(urlPath string) string
- func CompareNumInFilename(prev, next []byte) (less, ok bool)
- func Contains(collection []string, find string) bool
- func EscapeControllingRune(str string) []byte
- func ExtractHostFromUrl(url string) string
- func ExtractHostnamePort(host string) (hostname, port string)
- func ExtractHostsFromUrls(urls []string) []string
- func ExtractListenPort(listen string) string
- func FormatTimeSecond(t time.Time) string
- func GetBoolEnv(key string) bool
- func GetContentType(filename string, rd io.Reader) (string, error)
- func GetTTYFile() (file *os.File, teardown func() error)
- func HasFsPrefixDirAccurate(fsPath, prefix string) bool
- func HasFsPrefixDirNoCase(fsPath, prefix string) bool
- func HasUrlPrefixDirAccurate(urlPath, prefix string) bool
- func HasUrlPrefixDirNoCase(urlPath, prefix string) bool
- func IsDigits(input string) bool
- func IsStrEqualAccurate(a, b string) bool
- func IsStrEqualNoCase(a, b string) bool
- func NormalizeFsPath(input string) (string, error)
- func NormalizeUrlPath(input string) (string, error)
- func SplitFilename(filename string) (prefix, suffix string)
- func WildcardToStrRegexp(wildcard string) string
- type StrEqualFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var HasFsPrefixDir = HasFsPrefixDirAccurate
View Source
var HasUrlPrefixDir = HasUrlPrefixDirAccurate
View Source
var IsPathEqual = IsStrEqualAccurate
Functions ¶
func AsciiToLowerCase ¶ added in v1.4.2
func CleanUrlPath ¶
func CompareNumInFilename ¶ added in v1.8.0
func EscapeControllingRune ¶ added in v1.13.7
func ExtractHostFromUrl ¶ added in v1.15.0
func ExtractHostnamePort ¶ added in v1.9.0
func ExtractHostsFromUrls ¶ added in v1.15.0
func ExtractListenPort ¶ added in v1.9.0
func FormatTimeSecond ¶
func GetBoolEnv ¶ added in v1.13.0
func GetContentType ¶ added in v1.11.0
func GetTTYFile ¶ added in v1.13.0
func HasFsPrefixDirAccurate ¶ added in v1.15.0
func HasFsPrefixDirNoCase ¶ added in v1.15.0
func HasUrlPrefixDirAccurate ¶ added in v1.15.0
func HasUrlPrefixDirNoCase ¶ added in v1.12.0
func IsStrEqualAccurate ¶ added in v1.13.0
func IsStrEqualNoCase ¶ added in v1.13.0
func NormalizeFsPath ¶ added in v1.4.2
func NormalizeUrlPath ¶ added in v1.15.0
func SplitFilename ¶
func WildcardToStrRegexp ¶ added in v1.15.1
Types ¶
type StrEqualFunc ¶ added in v1.13.0
Click to show internal directories.
Click to hide internal directories.