package msg_transfer import ( "dcg/game/msg_transfer/danmaku" "dcg/game/svc" ) var ( danmakuMsgToPush danmaku.MsgToPushHandler ) func Init(ctx *svc.ServiceContext) { danmakuMsgToPush.Init(ctx) } func Run() { go danmakuMsgToPush.ConsumerGroup.RegisterHandlerAndConsumer(&danmakuMsgToPush) }