mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 19:29:39 +00:00
network: fix link in pprof
This commit is contained in:
parent
27a5825d42
commit
014be31a0a
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ type PprofService Service
|
||||||
// NewPprofService created new service for gathering pprof metrics.
|
// NewPprofService created new service for gathering pprof metrics.
|
||||||
func NewPprofService(cfg Config) *Service {
|
func NewPprofService(cfg Config) *Service {
|
||||||
handler := http.NewServeMux()
|
handler := http.NewServeMux()
|
||||||
handler.HandleFunc("/debug/pprof", pprof.Index)
|
handler.HandleFunc("/debug/pprof/", pprof.Index)
|
||||||
handler.HandleFunc("/debug/pprof/cmdline", pprof.Cmdline)
|
handler.HandleFunc("/debug/pprof/cmdline", pprof.Cmdline)
|
||||||
handler.HandleFunc("/debug/pprof/profile", pprof.Profile)
|
handler.HandleFunc("/debug/pprof/profile", pprof.Profile)
|
||||||
handler.HandleFunc("/debug/pprof/symbol", pprof.Symbol)
|
handler.HandleFunc("/debug/pprof/symbol", pprof.Symbol)
|
||||||
|
|
Loading…
Reference in a new issue