pprof debug

This commit is contained in:
Darien Raymond
2017-04-15 22:50:42 +02:00
parent 02ce3ffded
commit d809973621
+10
View File
@@ -0,0 +1,10 @@
package debug
import _ "net/http/pprof"
import "net/http"
func init() {
go func() {
http.ListenAndServe("localhost:6060", nil)
}()
}