Documentation ¶
Index ¶
- func BlackListSet(exp int64, accessToken string) error
- func BookGet(context *gin.Context)
- func CreateJWTToken(username string, userId uint) (map[string]string, error)
- func CreateUser(username, password string) (err error)
- func LoginPost(context *gin.Context)
- func LogoutGET(context *gin.Context)
- func RefreshGET(context *gin.Context)
- func SignupPost(context *gin.Context)
- type Book
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlackListSet ¶
Redis JWT Token Black List Register
func CreateJWTToken ¶
jwt token 生成
Types ¶
Click to show internal directories.
Click to hide internal directories.