package main import ( httputil "git.frostfs.info/TrueCloudLab/frostfs-node/pkg/util/http" ) const ( pprofEnabledKey = "pprof.enabled" pprofAddressKey = "pprof.address" pprofShutdownTimeoutKey = "pprof.shutdown_timeout" ) func newPprofComponent() *httpComponent { return &httpComponent{ name: "pprof", enabledKey: pprofEnabledKey, addressKey: pprofAddressKey, shutdownTimeoutKey: pprofShutdownTimeoutKey, handler: httputil.Handler(), } }