zhangqian
2023-12-08 84fb8e390b83dc9482524c12d7af6c93405c3fc1
nsq/consumer.go
@@ -25,6 +25,8 @@
      handler = &DeviceUpdate{Topic: topic}
   case fmt.Sprintf(constvar.NsqTopicPullDataResponse, conf.Conf.NsqConf.NodeId):
      handler = &PullDataResponse{Topic: topic}
   case fmt.Sprintf(constvar.NsqTopicSendDashboardData, conf.Conf.NsqConf.NodeId):
      handler = &Dashboard{Topic: topic}
   }
   c.AddHandler(handler.HandleMessage)
   return