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

22 lines
457 B
Go
Raw Normal View History

package morph
import (
"strings"
2020-07-24 13:54:03 +00:00
"github.com/nspcc-dev/neofs-node/cmd/neofs-node/modules/fix/module"
)
// Module is a Neo:Morph module.
var Module = module.Module{
2020-07-24 13:54:03 +00:00
{Constructor: newClient},
{Constructor: newMorphContracts},
{Constructor: newContainerContract},
{Constructor: newNetmapContract},
{Constructor: newEventListener},
{Constructor: newBalanceContract},
}
func optPath(sections ...string) string {
return strings.Join(sections, ".")
}