Categorygithub.com/beanou/jwt
modulepackage
0.0.2
Repository: https://github.com/beanou/jwt.git
Documentation: pkg.go.dev

# Functions

function in TokenTools Class验证参数中传来的token是否正确 func (this *TokenTools) CheckToken(tokenString string, secert string) (*JwtResult, error) {.
define TokenTools Class type TokenTools struct { } function in TokenTools Class生成一个jwt标准的token func (this *TokenTools) CreateToken(tp string, user string, domain string, secert string, expire time.Duration) (*JwtResult, error) {.

# Structs

No description provided by the author
No description provided by the author