Documentation ¶
Index ¶
- func GbkToUtf8(s []byte) ([]byte, error)
- func GetEnv(key, fallback string) string
- func GetEnvBool(key string, fallback bool) bool
- func GetEnvInt(key string, fallback int) int
- func GetFileExt(path string) string
- func GetFileIcon(fileName string, isDir bool) string
- func HashSha1(s string) string
- func InetAtoN(ip string, port int) int64
- func InetNtoA(ip int64) string
- func IntChangeToSize(s int64) string
- func IsAddr(address string) bool
- func IsUtf8(s []byte) bool
- func ParseUploadPath(remote string, filename string) (string, string)
- func PathExists(path string) (bool, error)
- type SafeMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEnvBool ¶
func GetFileExt ¶
func GetFileIcon ¶
func PathExists ¶
Types ¶
type SafeMap ¶
type SafeMap struct {
// contains filtered or unexported fields
}
func NewSafeMap ¶
func NewSafeMap() *SafeMap
Click to show internal directories.
Click to hide internal directories.