package
0.7.6
Repository: https://github.com/nspcc-dev/neofs-api-go.git
Documentation: pkg.go.dev

# Functions

NewGRPCCreator unites virtual gRPC client with private ket and returns Creator interface.
NewMapTokenStore creates new PrivateTokenStore instance.
NewParams creates a new CreateRequest message and returns CreateParamsContainer interface.
NewPrivateToken creates PrivateToken instance that expires after passed epoch.
No description provided by the author
PublicSessionToken returns a binary representation of session public key.
No description provided by the author

# Constants

ErrNilCreateParamsSource is returned by functions that expect a non-nil CreateParamsSource, but received nil.
ErrNilGPRCClientConn is returned by functions that expect a non-nil grpc.ClientConn, but received nil.
ErrNilPrivateToken is returned by functions that expect a non-nil PrivateToken, but received nil.
ErrPrivateTokenNotFound is returned when addressed private token was not found in storage.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

CreateRequest carries an information necessary for opening a session.
CreateResponse carries an information about the opened session.
PrivateTokenKey is a structure of private token storage key.
UnimplementedSessionServer can be embedded to have forward compatible implementations.

# Interfaces

CreateParamsContainer is an interface of the container of session parameters.
CreateParamsSource is an interface of the container of session parameters with read access.
CreateResult is an interface of the container of an opened session info with read access.
Creator is an interface of the tool for a session opening.
EpochLifetimeStore is an interface of the storage of elements that lifetime is limited by NeoFS epoch.
KeyStore is an interface of the storage of public keys addressable by OwnerID,.
PrivateToken is an interface of session private part.
PrivateTokenSource is an interface of private token storage with read access.
PrivateTokenStore is an interface of the storage of private tokens addressable by TokenID.
SessionClient is the client API for Session service.
SessionServer is the server API for Session service.

# Type aliases

OwnerID is a type alias of OwnerID ref.
Token is a type alias of Token.
TokenID is a type alias of TokenID ref.