Documentation ¶
Index ¶
- func BuildAccessPermissionKey(ctx context.Context) (string, error)
- func BuildAccessTokenKey(userID int32) string
- func BuildCategoryPermissionKey(categoryID int32) string
- func BuildCodeCacheKey(userID int32) string
- func BuildRefreshTokenKey(userID int32) string
- func BuildTokenAccessKey(accessToken string) string
- func BuildTokenRefreshKey(refreshToken string) string
- type Cache
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildAccessTokenKey ¶
func BuildCodeCacheKey ¶
func BuildRefreshTokenKey ¶
func BuildTokenAccessKey ¶
func BuildTokenRefreshKey ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.