msg database

This commit is contained in:
withchao
2023-02-23 18:17:17 +08:00
parent 2359d7ab37
commit 2af2716c2c
17 changed files with 588 additions and 241 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ type ModifyMsgConsumerHandler struct {
modifyMsgConsumerGroup *kfk.MConsumerGroup
extendMsgInterface controller.ExtendMsgInterface
cache cache.Cache
cache cache.MsgCache
}
func (mmc *ModifyMsgConsumerHandler) Init() {
@@ -57,7 +57,7 @@ type OnlineHistoryRedisConsumerHandler struct {
producerToMongo *kafka.Producer
msgInterface controller.MsgInterface
cache cache.Cache
cache cache.MsgCache
}
func (och *OnlineHistoryRedisConsumerHandler) Init() {
@@ -19,7 +19,7 @@ import (
type OnlineHistoryMongoConsumerHandler struct {
historyConsumerGroup *kfk.MConsumerGroup
msgInterface controller.MsgInterface
cache cache.Cache
cache cache.MsgCache
}
func (mc *OnlineHistoryMongoConsumerHandler) Init() {