Documentation ¶
Index ¶
- func CacheKey(key string, keys ...string) string
- func GenAccount(ps ...string) string
- func LoginAuthTokenKey(uid uint, token string) string
- func SafeLoginCacheKey(key string, keys ...string) string
- func SafeSecretCacheKey(key string, keys ...string) string
- func SmsCaptchaCacheKey(key string, keys ...string) string
- func TokenCacheKey(token string, subjects ...string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoginAuthTokenKey ¶
LoginAuthTokenKey 登录授权TokenKEY
func SafeLoginCacheKey ¶
SafeLoginCacheKey 账户登录安全密钥KEY
func SafeSecretCacheKey ¶
SafeSecretCacheKey 安全密钥缓存KEY
func SmsCaptchaCacheKey ¶
SmsCaptchaCacheKey 短信验证码缓存KEY
func TokenCacheKey ¶
TokenCacheKey Token 缓存KEY
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.