mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 02:48:34 +08:00
优化
This commit is contained in:
3
main.go
3
main.go
@@ -75,8 +75,7 @@ var rootCmd = &cobra.Command{
|
||||
global.Log.Info("路由初始化完成")
|
||||
app.Start(context.TODO())
|
||||
//开启IOTHUB
|
||||
iothub.InitIothub()
|
||||
//emqxserver.InitEmqxHook(fmt.Sprintf(":%d", global.Conf.Server.GrpcPort))
|
||||
go iothub.InitIothub()
|
||||
//开启视频服务
|
||||
go engine.Run(context.Background(), "config.yml")
|
||||
stop := make(chan os.Signal, 1)
|
||||
|
||||
Reference in New Issue
Block a user