main.go 226 B

1234567891011121314
  1. package main
  2. import (
  3. "lc-smartX/lc"
  4. "lc-smartX/util/gopool"
  5. )
  6. func main() {
  7. lc.GetMQTTMgr()
  8. gopool.SetCap(64)
  9. go lc.GetMQTTMgr().MQTTConnectMgr()
  10. go lc.GetMQTTMgr().MQTTMessageHandle()
  11. lc.StartIntersectionServer()
  12. }