forked from TrueCloudLab/frostfs-http-gw
refactoring + moved to neofs-api-go
This commit is contained in:
parent
6abd79aa44
commit
164b0870de
9 changed files with 252 additions and 126 deletions
2
pprof.go
2
pprof.go
|
@ -11,7 +11,7 @@ import (
|
|||
|
||||
func attachProfiler(r *router.Router) {
|
||||
r.GET("/debug/pprof/", pprofHandler())
|
||||
r.GET("/debug/pprof/:name", pprofHandler())
|
||||
r.GET("/debug/pprof/:name/", pprofHandler())
|
||||
}
|
||||
|
||||
func pprofHandler() fasthttp.RequestHandler {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue