@@ -0,0 +1,75 @@
|
||||
package redis
|
||||
|
||||
import "time"
|
||||
|
||||
// RCType redis channel type
|
||||
type RCType string
|
||||
|
||||
const (
|
||||
// config
|
||||
RCT_cfg_all RCType = "config.*"
|
||||
// tabkind 配置改变
|
||||
RCT_cfg_tabkind_change RCType = "config.tabkindchange"
|
||||
// mediatag 配置改变
|
||||
RCT_cfg_mediatag_change RCType = "config.mediatagchange"
|
||||
// mediacat 配置改变
|
||||
RCT_cfg_mediacat_change RCType = "config.mediacatchange"
|
||||
// mediatopic 配置改变
|
||||
RCT_cfg_mediatopic_change RCType = "config.mediatopicchange"
|
||||
// mediacolumn 配置改变
|
||||
RCT_cfg_mediacolumn_change RCType = "config.mediacolumnchange"
|
||||
// syscfg 系统配置改变
|
||||
RCT_cfg_syscfg_change RCType = "config.syscfgchange"
|
||||
|
||||
// 广告
|
||||
RCT_ad_all RCType = "ad.*"
|
||||
// 广告配置改变
|
||||
RCT_ad_cfgchange RCType = "ad.cfgchange"
|
||||
|
||||
// 系统通知
|
||||
RCT_blt_all RCType = "blt.*"
|
||||
// 系统通知
|
||||
RCT_blt_cfgchange RCType = "blt.cfgchange"
|
||||
|
||||
//media
|
||||
RCT_media_all RCType = "media.*"
|
||||
//media 信息改变
|
||||
RCT_media_change RCType = "media.change"
|
||||
//media 信息添加
|
||||
RCT_media_add RCType = "media.add"
|
||||
//media 信息删除
|
||||
RCT_media_del RCType = "media.del"
|
||||
//media 相关排行榜改变
|
||||
RCT_media_topchange RCType = "media.topchange"
|
||||
|
||||
//user
|
||||
RCT_user_all RCType = "user.*"
|
||||
//user 信息改变
|
||||
RCT_user_change RCType = "user.change"
|
||||
//user 信息添加
|
||||
RCT_user_add RCType = "user.add"
|
||||
//user 信息删除
|
||||
RCT_user_del RCType = "user.del"
|
||||
//user 相关排行榜改变
|
||||
RCT_user_topchange RCType = "user.topchange"
|
||||
|
||||
//视频推荐
|
||||
RCT_recommend_all RCType = "recommend.*"
|
||||
//博主推荐
|
||||
RCT_recommend_blogger_all RCType = "recommend.bloggerALL"
|
||||
// 视频每日推荐
|
||||
RCT_recommend_media_all RCType = "recommend.mediaAll"
|
||||
|
||||
//tg消息
|
||||
RCT_tgmsg_all RCType = "tgmsg.*"
|
||||
RCT_tgmsg_send_msg RCType = "tgmsg.sendmsg"
|
||||
|
||||
//vipcard
|
||||
RCT_vipcard_all RCType = "vipcard.*"
|
||||
RCT_vipcard_change RCType = "vipcard.change"
|
||||
|
||||
NameSource = "name:source" //姓名池
|
||||
NameSourceExpire = 2 * 24 * time.Hour
|
||||
CommunicateServerChannel = "comm:lld#server"
|
||||
CommunicateClientChannel = "comm:lld#client"
|
||||
)
|
||||
Reference in New Issue
Block a user