Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { sessionGRPC.UnimplementedSessionServiceServer // contains filtered or unexported fields }
Server wraps NeoFS API Session service and provides gRPC Session service server interface.
func New ¶
func New(c sessionsvc.Server) *Server
New creates, initializes and returns Server instance.
func (*Server) Create ¶
func (s *Server) Create(ctx context.Context, req *sessionGRPC.CreateRequest) (*sessionGRPC.CreateResponse, error)
Create converts gRPC CreateRequest message and passes it to internal Session service.
Click to show internal directories.
Click to hide internal directories.