1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-17 13:05:24 +00:00

pprof debug

This commit is contained in:
Darien Raymond 2017-04-15 22:50:42 +02:00
parent 02ce3ffded
commit d809973621
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -0,0 +1,10 @@
package debug
import _ "net/http/pprof"
import "net/http"
func init() {
go func() {
http.ListenAndServe("localhost:6060", nil)
}()
}