[#83] cmd/neofs-node: Use response services in application

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-10-22 14:07:06 +03:00 committed by Alex Vanin
parent 0341773318
commit 3065a7363b
6 changed files with 43 additions and 24 deletions

View file

@ -32,9 +32,12 @@ func initContainerService(c *cfg) {
containerTransportGRPC.New(
containerService.NewSignService(
c.key,
containerService.NewExecutionService(
containerMorph.NewExecutor(cnrClient),
new(session.ResponseMetaHeader),
containerService.NewResponseService(
containerService.NewExecutionService(
containerMorph.NewExecutor(cnrClient),
new(session.ResponseMetaHeader),
),
c.respSvc,
),
),
),