Documentation ¶ Index ¶ func EncodeMD5(value string) string func GetIPLoc(ip string) string func PrintHelloBanner(text string) func RandStr(size int, kind StrType) []byte func SidStr(name string, version *semver.Version, size int) string type StrType Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func EncodeMD5 ¶ func EncodeMD5(value string) string func GetIPLoc ¶ func GetIPLoc(ip string) string func PrintHelloBanner ¶ func PrintHelloBanner(text string) func RandStr ¶ func RandStr(size int, kind StrType) []byte 生成随机字符串 size 个数 kind 模式 func SidStr ¶ func SidStr(name string, version *semver.Version, size int) string Types ¶ type StrType ¶ type StrType int const ( NUM StrType = iota // 数字 LOWER // 小写字母 UPPER // 大写字母 ALL // 全部 CLEAR // 去除部分易混淆的字符 ) Source Files ¶ View all Source files banner.go ip.go md5.go str.go Directories ¶ Show internal Expand all Path Synopsis iploc Click to show internal directories. Click to hide internal directories.