Documentation ¶
Index ¶
- func DeleteTokenInRedis(userId uint, appId uint) (err error)
- func GetPayloadFromGin(c *gin.Context) (userId uint, appId uint, t int64)
- func GetPayloadFromToken(token *jwt.Token) (userId uint, appId uint, t int64)
- func GetToken(c *gin.Context) string
- func GetTokenFromRedis(userId uint, appId uint) (token string, err error)
- func SetTokenToRedis(userId uint, appId uint, token string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteTokenInRedis ¶
func GetPayloadFromToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.