Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server interface {
Create(context.Context, *session.CreateRequest) (*session.CreateResponse, error)
}
Server is an interface of the FrostFS API Session service server.
func NewExecutionService ¶
func NewExecutionService(exec ServiceExecutor, l *logger.Logger) Server
NewExecutionService wraps ServiceExecutor and returns Session Service interface.
func NewResponseService ¶
NewResponseService returns session service instance that passes internal service call to response service.
func NewSignService ¶
func NewSignService(key *ecdsa.PrivateKey, svc Server) Server
type ServiceExecutor ¶
type ServiceExecutor interface {
Create(context.Context, *session.CreateRequestBody) (*session.CreateResponseBody, error)
}
Click to show internal directories.
Click to hide internal directories.