优化数据分析和日志记录,重构连接管理,添加对空缓冲区的处理

This commit is contained in:
2025-02-28 17:50:48 +08:00
parent 06bcaf8bc7
commit b8a3dd93dc
8 changed files with 324 additions and 151 deletions

View File

@@ -96,20 +96,14 @@ func initLog() {
func startFwdServer(ctx context.Context) error {
server := fwd.New(nil)
go func() {
<-ctx.Done()
server.Close()
}()
server.Run()
return nil
}
func startMntServer(ctx context.Context) {
}
func startWebServer(ctx context.Context) {
}