[#12] Serve gRPC session service in neofs-node app
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
f5a0e354ef
commit
c378c353d5
4 changed files with 35 additions and 10 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue