pprof debug

pull/432/merge
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
1 changed files with 10 additions and 0 deletions

View File

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