Documentation ¶
Index ¶
- Constants
- func AesCbcDecript(data, key string) []byte
- func AesCbcEncrypt(data, key string) string
- func AesEcbDecrypt(data, key []byte) []byte
- func AesEcbEncrypt(data, key []byte) []byte
- func Exists(path string) bool
- func GetSha256(data []byte) string
- func GetUUID() string
- func HS256Sign(key, data string) string
- func IntToStr(i int64) string
- func IsDir(path string) bool
- func IsFile(path string) bool
- func Microstamp() int64
- func Mkdir(path string) error
- func Nanostamp() int64
- func StrToInt(s string) int64
- func StrToMD5(t string) string
- func Timestamp() int64
- func Usstamp() int64
Constants ¶
View Source
const (
TimeFormat = "2006-01-02 15:04:05"
)
Variables ¶
This section is empty.
Functions ¶
func AesCbcDecript ¶
func AesCbcEncrypt ¶
func AesEcbDecrypt ¶
func AesEcbEncrypt ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.