package md // 缓存key统一管理, %s格式化为masterId const ( AppCfgCacheKey = "egg_app_cfg_cache:%s" // 占位符: key的第一个字母 DealAppLimiterRequestIdPrefix = "%s:egg_app_limiter_request_id:%s" AppLimiterLock = "%s:egg_app_limiter_lock:%s" // 限流器锁 CfgCacheTime = 86400 UserAccessRecordsKey = "AccessRecords:%d:%s:%s" // 用户访问记录 uid index )