[#12] Serve gRPC session service in neofs-node app

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-08-24 18:51:42 +03:00 committed by Alex Vanin
parent f5a0e354ef
commit c378c353d5
4 changed files with 35 additions and 10 deletions

View file

@ -9,6 +9,7 @@ import (
"github.com/nspcc-dev/neo-go/pkg/util"
crypto "github.com/nspcc-dev/neofs-crypto"
"github.com/nspcc-dev/neofs-node/pkg/morph/client"
tokenStorage "github.com/nspcc-dev/neofs-node/pkg/services/session/storage"
"google.golang.org/grpc"
)
@ -26,6 +27,8 @@ type cfg struct {
cfgAccounting cfgAccounting
cfgContainer cfgContainer
privateTokenStore *tokenStorage.TokenStore
}
type cfgGRPC struct {