mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-10-23 09:52:43 +00:00
pprof debug
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package debug
|
||||
|
||||
import _ "net/http/pprof"
|
||||
import "net/http"
|
||||
|
||||
func init() {
|
||||
go func() {
|
||||
http.ListenAndServe("localhost:6060", nil)
|
||||
}()
|
||||
}
|
||||
Reference in New Issue
Block a user