Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶ added in v0.12.0
type Server struct {
// 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 ¶ added in v0.12.0
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.