gomod引用
This commit is contained in:
@@ -13,37 +13,17 @@ const (
|
||||
AdvertiserCacheKeyPrefix = "cid:adv:" // 广告主缓存前缀
|
||||
)
|
||||
|
||||
// 统计数据键
|
||||
const (
|
||||
AdStatKeyPrefix = "cid:stat:ad:" // 广告统计键前缀
|
||||
AdvStatKeyPrefix = "cid:stat:adv:" // 广告主统计键前缀
|
||||
PosStatKeyPrefix = "cid:stat:pos:" // 广告位统计键前缀
|
||||
DailyStatKeyPrefix = "cid:stat:daily:" // 日常统计键前缀
|
||||
)
|
||||
|
||||
// 广告匹配键
|
||||
const (
|
||||
AdMatchingKeyPrefix = "cid:match:" // 广告匹配键前缀
|
||||
UserProfileKeyPrefix = "cid:user:" // 用户画像键前缀
|
||||
)
|
||||
|
||||
// 报表键
|
||||
const (
|
||||
ReportCacheKeyPrefix = "cid:report:" // 报表缓存键前缀
|
||||
ReportTaskKeyPrefix = "cid:task:" // 报表任务键前缀
|
||||
)
|
||||
|
||||
// 限流键
|
||||
const (
|
||||
ApiRequestLimitKeyPrefix = "cid:limit:api:" // API请求限流键前缀
|
||||
)
|
||||
|
||||
// 队列键
|
||||
const (
|
||||
AdStatisticsQueueKey = "cid:queue:stat" // 统计数据队列
|
||||
ReportGenerateQueueKey = "cid:queue:report" // 报表生成队列
|
||||
)
|
||||
|
||||
// Stream键
|
||||
const (
|
||||
AdEventStreamKey = "cid:stream:ad_event" // 广告事件流
|
||||
|
||||
Reference in New Issue
Block a user