Documentation ¶
Index ¶
- Constants
- type AuthJwt
- func (*AuthJwt) CreateClaims(data interface{}) (claims *Claims)
- func (j *AuthJwt) CreateToken(data interface{}) (token string, err error)
- func (*AuthJwt) GetToken(claims *Claims) (signedToken string, err error)
- func (*AuthJwt) Parse(strToken string) (claims *Claims, err error)
- func (j *AuthJwt) Refresh(token string) (newToken string, err error)
- type Claims
Constants ¶
View Source
const ( ErrorreasonServerbusy = "服务器繁忙" ErrorreasonLoginOutTime = "登录过期,请重新登录" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.