Documentation ¶
Index ¶
- type CustomSession
- type JwtService
- func (jwtService *JwtService) GetRedisJWT(userName string) (err error, redisJWT string)
- func (jwtService *JwtService) IsBlacklist(jwt string) bool
- func (jwtService *JwtService) JsonInBlacklist(token string) (err error)
- func (jwtService *JwtService) SetRedisJWT(jwt string, userName string) (err error)
- type Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomSession ¶
Custom Session structure
type JwtService ¶
type JwtService struct { }
func (*JwtService) GetRedisJWT ¶
func (jwtService *JwtService) GetRedisJWT(userName string) (err error, redisJWT string)
func (*JwtService) IsBlacklist ¶
func (jwtService *JwtService) IsBlacklist(jwt string) bool
func (*JwtService) JsonInBlacklist ¶
func (jwtService *JwtService) JsonInBlacklist(token string) (err error)
func (*JwtService) SetRedisJWT ¶
func (jwtService *JwtService) SetRedisJWT(jwt string, userName string) (err error)
Click to show internal directories.
Click to hide internal directories.