Files
new-api/constant/cache_key.go

15 lines
278 B
Go
Raw Normal View History

2024-12-29 16:50:26 +08:00
package constant
2024-12-30 17:10:48 +08:00
// Cache keys
2024-12-29 16:50:26 +08:00
const (
UserGroupKeyFmt = "user_group:%d"
UserQuotaKeyFmt = "user_quota:%d"
UserEnabledKeyFmt = "user_enabled:%d"
UserUsernameKeyFmt = "user_name:%d"
)
2024-12-30 17:10:48 +08:00
const (
TokenFiledRemainQuota = "RemainQuota"
TokenFieldGroup = "Group"
)