session

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2020 License: GPL-3.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateRequest

type CreateRequest = session.CreateRequest

CreateRequest is a type alias of CreateRequest from session package of neofs-api-go.

type CreateResponse

type CreateResponse = session.CreateResponse

CreateResponse is a type alias of CreateResponse from session package of neofs-api-go.

type EpochReceiver

type EpochReceiver interface {
	Epoch() uint64
}

EpochReceiver is an interface of the container of epoch number with read access.

type Params

type Params struct {
	TokenStore TokenStore

	Logger *zap.Logger

	EpochReceiver EpochReceiver
}

Params groups the parameters of Session service server's constructor.

type Service

type Service interface {
	libgrpc.Service
	session.SessionServer
}

Service is an interface of the server of Session service.

func New

func New(p Params) Service

New is an Session service server's constructor.

type TokenStore

type TokenStore = session.PrivateTokenStore

TokenStore is a type alias of TokenStore from session package of neofs-api-go.

Jump to

Keyboard shortcuts

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