1
0

marge: 合并代码

This commit is contained in:
TsMask
2024-01-19 19:08:52 +08:00
parent 269b578d77
commit 6d9123314c
18 changed files with 647 additions and 354 deletions

View File

@@ -5,7 +5,6 @@ import (
"crypto/x509"
"fmt"
"net/http"
_ "net/http/pprof"
"os"
"strconv"
"strings"
@@ -187,11 +186,6 @@ func main() {
uriGroup.Use(libSession.SessionHeader())
uriGroup.Any("/*any", gin.WrapH(routes.NewRouter()))
// 注册 pprof 路由
go func() {
http.ListenAndServe("0.0.0.0:6060", nil)
}()
// 开启监控采集
// monitor.StartMonitor(false, "")