From 18c021213f497d39e4f9913c25fa359804a7273d Mon Sep 17 00:00:00 2001 From: PandaxGo <2417920382@qq.com> Date: Mon, 9 Oct 2023 09:26:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.go b/main.go index 8a540d3..07679c1 100644 --- a/main.go +++ b/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)