2020-07-10 14:17:51 +00:00
|
|
|
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"
|
2020-07-10 14:17:51 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// 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},
|
2020-07-10 14:17:51 +00:00
|
|
|
// Profiler is pprof handler
|
2020-07-24 13:54:03 +00:00
|
|
|
{Constructor: profiler.NewProfiler},
|
2020-07-10 14:17:51 +00:00
|
|
|
{Constructor: newHTTPHandler},
|
|
|
|
}
|