Documentation ¶
Index ¶
- Variables
- func DecrypteString(key string, encrypted string, logger *zap.Logger) (plaintext string)
- func Encryption(s string) string
- func GetEmpnum(str string, i int) string
- func GetUUID() (uuids string, err error)
- func PathExists(path string) (bool, error)
- func Sign(s interface{}, expires time.Duration, tokenKey, tokenSecret string) (string, error)
- func TokenInit()
- func Unsign(tokenString, tokenSecret string) (interface{}, error)
- type JwtToken
- type Page
- type RtMsg
Constants ¶
This section is empty.
Variables ¶
View Source
var TokenMap map[string]string
Functions ¶
func DecrypteString ¶
DecrypteString 解密
Types ¶
Click to show internal directories.
Click to hide internal directories.