We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42e3c5f commit ca242ffCopy full SHA for ca242ff
net/ghttp/ghttp_server_pprof.go
@@ -26,7 +26,7 @@ const (
26
// StartPProfServer starts and runs a new server for pprof.
27
func StartPProfServer(port int, pattern ...string) {
28
s := GetServer(defaultPProfServerName)
29
- s.EnablePProf()
+ s.EnablePProf(pattern...)
30
s.SetPort(port)
31
s.Run()
32
}
0 commit comments