forked from TrueCloudLab/frostfs-node
Evgenii Stratonikov
f989bc52be
Pprof will have specific options, it seems wrong to have them in a generic struct. Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
12 lines
217 B
Go
12 lines
217 B
Go
package main
|
|
|
|
import (
|
|
httputil "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/util/http"
|
|
)
|
|
|
|
func newPprofComponent() *httpComponent {
|
|
return &httpComponent{
|
|
name: "pprof",
|
|
handler: httputil.Handler(),
|
|
}
|
|
}
|