[#11] Use Neo:Morph ServiceExecutor of Accounting service in app
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
5022362c1a
commit
e6fedfbc69
4 changed files with 91 additions and 26 deletions
13
cmd/neofs-node/morph.go
Normal file
13
cmd/neofs-node/morph.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"github.com/nspcc-dev/neofs-node/pkg/morph/client"
|
||||
)
|
||||
|
||||
func initMorphComponents(c *cfg) {
|
||||
var err error
|
||||
|
||||
c.morphClient, err = client.New(c.key, c.morphEndpoint)
|
||||
|
||||
fatalOnErr(err)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue