zhangzengfei
2024-04-16 e4840c7de5ff5f1a816a4fd023ba5bf797a4fa9e
main.go
@@ -3,6 +3,7 @@
import (
   "context"
   "fmt"
   "gat1400Exchange/cron"
   "net/http"
   "os"
   "os/signal"
@@ -38,7 +39,9 @@
   // 启动网络视频字符叠加器服务
   go service.NVCSServer()
   go service.DeviceInfoReportTask()
   // 启动定时任务
   cron.Init()
   // Initializing the server in a goroutine so that
   // it won't block the graceful shutdown handling below