You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

15 lines
278 B

  1. package constant
  2. // Cache keys
  3. const (
  4. UserGroupKeyFmt = "user_group:%d"
  5. UserQuotaKeyFmt = "user_quota:%d"
  6. UserEnabledKeyFmt = "user_enabled:%d"
  7. UserUsernameKeyFmt = "user_name:%d"
  8. )
  9. const (
  10. TokenFiledRemainQuota = "RemainQuota"
  11. TokenFieldGroup = "Group"
  12. )