Documentation
¶
Index ¶
- func BlockTokenHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func CleanExpiredTokensHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func DeleteTokenHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func ListTokenHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
- func UnblockTokenHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlockTokenHandler ¶
func BlockTokenHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
拉黑某一个令牌
func CleanExpiredTokensHandler ¶
func CleanExpiredTokensHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
清理过期令牌
func UnblockTokenHandler ¶
func UnblockTokenHandler(svcCtx *svc.ServiceContext) http.HandlerFunc
解封某一个令牌
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.