Minor fixes

This commit is contained in:
世界
2022-07-30 14:50:33 +08:00
parent d3378a575c
commit 2ce09b6ffd
13 changed files with 87 additions and 24 deletions

12
cmd/sing-box/debug.go Normal file
View File

@@ -0,0 +1,12 @@
//go:build debug
package main
import (
"net/http"
_ "net/http/pprof"
)
func init() {
go http.ListenAndServe("0.0.0.0:8964", nil)
}