frostfs-node/cmd/neofs-node/modules/network/module.go

20 lines
472 B
Go
Raw Normal View History

package network
import (
2020-07-24 13:54:03 +00:00
"github.com/nspcc-dev/neofs-node/cmd/neofs-node/modules/fix/module"
"github.com/nspcc-dev/neofs-node/pkg/util/profiler"
)
// Module is a network layer module.
var Module = module.Module{
{Constructor: newMuxer},
{Constructor: newPeers},
{Constructor: newPlacement},
// Metrics is prometheus handler
2020-07-24 13:54:03 +00:00
{Constructor: profiler.NewMetrics},
// Profiler is pprof handler
2020-07-24 13:54:03 +00:00
{Constructor: profiler.NewProfiler},
{Constructor: newHTTPHandler},
}