Documentation ¶
Index ¶
- func AsciiToLowerCase(input string) string
- func CleanUrlPath(urlPath string) string
- func CompareNumInFilename(prev, next []byte) (less, ok bool)
- func Contains(collection []string, find string) bool
- func ExtractHostnamePort(host string) (hostname, port string)
- func ExtractListenPort(listen string) string
- func FormatTimeSecond(t time.Time) string
- func GetContentType(filename string, rd io.Reader) (string, error)
- func HasFsPrefixDir(fsPath, prefix string) bool
- func HasUrlPrefixDir(urlPath, prefix string) bool
- func HasUrlPrefixDirNoCase(urlPath, prefix string) bool
- func IsDigits(input string) bool
- func NormalizeFsPath(input string) (string, error)
- func SplitFilename(filename string) (prefix, suffix string)
- func WildcardToRegexp(wildcard string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsciiToLowerCase ¶ added in v1.4.2
func CleanUrlPath ¶
func CompareNumInFilename ¶ added in v1.8.0
func ExtractHostnamePort ¶ added in v1.9.0
func ExtractListenPort ¶ added in v1.9.0
func FormatTimeSecond ¶
func GetContentType ¶ added in v1.11.0
func HasFsPrefixDir ¶
func HasUrlPrefixDir ¶
func HasUrlPrefixDirNoCase ¶ added in v1.12.0
func NormalizeFsPath ¶ added in v1.4.2
func SplitFilename ¶
func WildcardToRegexp ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.