|
|
|
@ -31,7 +31,7 @@ func Init(rpcPort int) {
|
|
|
|
|
}
|
|
|
|
|
func init() {
|
|
|
|
|
producer = kafka.NewKafkaProducer(config.Config.Kafka.Ws2mschat.Addr, config.Config.Kafka.Ws2mschat.Topic)
|
|
|
|
|
statistics.NewStatistics(&count, config.Config.ModuleName.PushName, fmt.Sprintf("%d second push to msg_gateway count", count), 10)
|
|
|
|
|
statistics.NewStatistics(&count, config.Config.ModuleName.PushName, fmt.Sprintf("%d second push to msg_gateway count", 10), 10)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func Run() {
|
|
|
|
|