[#13] neofs-node: Use signing Object service in app

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-08-25 16:37:10 +03:00 committed by Alex Vanin
parent 276ec2e1e0
commit eb874092b5
3 changed files with 56 additions and 13 deletions

View file

@ -4,8 +4,6 @@ import (
"fmt"
"log"
object "github.com/nspcc-dev/neofs-api-go/v2/object/grpc"
objectGRPC "github.com/nspcc-dev/neofs-node/pkg/network/transport/object/grpc"
"github.com/nspcc-dev/neofs-node/pkg/util/grace"
)
@ -35,8 +33,7 @@ func init_(c *cfg) {
initAccountingService(c)
initContainerService(c)
initSessionService(c)
object.RegisterObjectServiceServer(c.cfgGRPC.server, objectGRPC.New(new(objectSvc)))
initObjectService(c)
}
func bootUp(c *cfg) {