netmap

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2021 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(s NodeState, v *pkg.Version) netmap.Service

func NewResponseService

func NewResponseService(nmSvc netmap.Service, respSvc *response.Service) netmap.Service

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

func NewSignService

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

Types

type NodeState added in v0.14.3

type NodeState interface {
	// Must return current node state
	// in NeoFS API v2 NodeInfo structure.
	LocalNodeInfo() (*netmap.NodeInfo, error)
}

NodeState encapsulates information about current node state.

Jump to

Keyboard shortcuts

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