mirror of
https://github.com/v2fly/v2ray-core
synced 2024-02-27 03:18:06 +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