session

package
v0.13.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: GPL-3.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExecutionService

func NewExecutionService(exec ServiceExecutor) session.Service

NewExecutionService wraps ServiceExecutor and returns Session Service interface.

func NewResponseService

func NewResponseService(ssSvc session.Service, respSvc *response.Service) session.Service

NewResponseService returns session service instance that passes internal service call to response service.

func NewSignService

func NewSignService(key *ecdsa.PrivateKey, svc session.Service) session.Service

Types

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