mirror of https://github.com/v2ray/v2ray-core
pprof debug
parent
02ce3ffded
commit
d809973621
|
@ -0,0 +1,10 @@
|
|||
package debug
|
||||
|
||||
import _ "net/http/pprof"
|
||||
import "net/http"
|
||||
|
||||
func init() {
|
||||
go func() {
|
||||
http.ListenAndServe("localhost:6060", nil)
|
||||
}()
|
||||
}
|
Loading…
Reference in New Issue