session

package
v0.42.0-rc.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

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, respSvc *response.Service, l *logger.Logger) Server

NewExecutionService wraps ServiceExecutor and returns Session Service interface.

func NewSignService

func NewSignService(key *ecdsa.PrivateKey, svc Server) Server

type ServiceExecutor

type ServiceExecutor interface {
	Create(context.Context, *session.CreateRequestBody) (*session.CreateResponseBody, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL