Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComparePassword ¶
func IsTokenValid ¶
Types ¶
type JwtCustomClaims ¶
func ParseToken ¶
func ParseToken(token string) (JwtCustomClaims, error)
type RedisClient ¶
type RedisClient struct { }
func InitRedis ¶
func InitRedis() (*RedisClient, error)
func (*RedisClient) Delete ¶
func (rdc *RedisClient) Delete(key ...string) error
func (*RedisClient) GetExpireTime ¶
func (rdc *RedisClient) GetExpireTime(key string) (time.Duration, error)
Click to show internal directories.
Click to hide internal directories.