Documentation ¶ Index ¶ func Decrypt(passwd string, key string) (decrypteds string, err error) func Encryption(passwd string, key string) (encrypteds string) func GenUid() string func GetToken(uid string, key string) (token string) func ParseToken(token string, key string) (claims jwtv5.MapClaims, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Decrypt ¶ func Decrypt(passwd string, key string) (decrypteds string, err error) 解密密码 func Encryption ¶ func Encryption(passwd string, key string) (encrypteds string) 加密密码 func GenUid ¶ func GenUid() string func GetToken ¶ func GetToken(uid string, key string) (token string) 获取token func ParseToken ¶ func ParseToken(token string, key string) (claims jwtv5.MapClaims, err error) 解析token Types ¶ This section is empty. Source Files ¶ View all Source files jwt.go Click to show internal directories. Click to hide internal directories.