This commit is contained in:
PandaxGo
2023-10-09 09:26:07 +08:00
parent b50a047bd0
commit 18c021213f

View File

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