golang-im聊天
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.

app_redis_key.go 333 B

2 years ago
2 years ago
12345678
  1. package md
  2. // 缓存key统一管理, %s格式化为masterId
  3. const (
  4. AppCfgCacheKey = "%s:gim_cfg_cache:%s" // 占位符: masterId, key的第一个字母
  5. AppUserPushForJgCacheKey = "%s:gim_user_push_for_jg_cache:%s" // 占位符: masterId, key的第一个字母
  6. CfgCacheTime = 86400
  7. )