Documentation
¶
Index ¶
- func Bool(v bool) *bool
- func DeleteLocalFile(localFile string) (bool, error)
- func DiffSet(old, new map[string]struct{}) ([]string, []string)
- func EncryptPassword(password string) (string, error)
- func FileExists(path string) bool
- func FileMD5(filePath string) (string, error)
- func Float32(v float32) *float32
- func Hash(s string) string
- func Int32(v int32) *int32
- func IsSame(key string, a, b interface{}) bool
- func ListFile(path string) []string
- func MapToStruct(m map[string]interface{}, s interface{}) error
- func MatchPassword(password, encryptedPassword string) bool
- func PortCheck(port string, timeout int) bool
- func RandStr(length int) string
- func String(s string) *string
- func TimestampMS() int64
- func TimestampS() int64
- type ExecItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteLocalFile ¶
func EncryptPassword ¶
func MapToStruct ¶
MapToStruct map to struct
func MatchPassword ¶
func TimestampMS ¶
func TimestampMS() int64
func TimestampS ¶
func TimestampS() int64
Types ¶
Click to show internal directories.
Click to hide internal directories.