[#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

@ -15,9 +15,12 @@ func initSessionService(c *cfg) {
sessionTransportGRPC.New(
sessionSvc.NewSignService(
c.key,
sessionSvc.NewExecutionService(
c.privateTokenStore,
new(session.ResponseMetaHeader),
sessionSvc.NewResponseService(
sessionSvc.NewExecutionService(
c.privateTokenStore,
new(session.ResponseMetaHeader),
),
c.respSvc,
),
),
),