Initial commit *2
This commit is contained in:
10
hook/ezprof.go
Normal file
10
hook/ezprof.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package ezprof
|
||||
|
||||
import "net/http"
|
||||
import _ "net/http/pprof"
|
||||
|
||||
func init () {
|
||||
go func () {
|
||||
http.ListenAndServe("localhost:8888", nil)
|
||||
} ()
|
||||
}
|
||||
Reference in New Issue
Block a user