You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
299 B
Go

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)
}