Documentation ¶
Index ¶
- Constants
- Variables
- func Base64Encoding(data []byte) string
- func CharType(c rune) int
- func EncParamStr(param, key, time string) map[string]string
- func GBK2UTF8(src []byte) []byte
- func Log(msg ...string)
- func MD5(data string) string
- func SimpleDo(f func(req *fasthttp.Request, resp *fasthttp.Response))
- func TripleMD5(str1, str2 string) string
- type JwError
Constants ¶
View Source
const ( Digit = iota // 数字 Capital // 大写字母 Lowercase // 小写字母 Others // 其他字符 )
View Source
const DefaultHttpTimeout = 10 * time.Second
默认http超时时间
Variables ¶
View Source
var PrintLog = true
是否打印日志
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.