Documentation
¶
Index ¶
- func CacheToken(ctx *gin.Context, key string, token string) error
- func CacheTokenExist(ctx *gin.Context, key string) (bool, error)
- func DeleteCachedToken(ctx *gin.Context, key string) error
- func GetCachedToken(ctx *gin.Context, key string) (string, error)
- func RefreshTokenTTL(ctx *gin.Context, key string)
- func UserLogin(ctx *gin.Context, login entity.UserLogin) (string, error)
- func UserLogout(c *gin.Context, token string) error
- func UserRegister(ctx *gin.Context, ur entity.UserRegister) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheTokenExist ¶ added in v0.3.0
func GetCachedToken ¶ added in v0.3.0
func RefreshTokenTTL ¶ added in v0.3.0
func UserRegister ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.