grpc

package
v0.44.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: GPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	netmapGRPC.UnimplementedNetmapServiceServer
	// contains filtered or unexported fields
}

Server wraps NeoFS API Netmap service and provides gRPC Netmap service server interface.

func New

func New(c netmapsvc.Server) *Server

New creates, initializes and returns Server instance.

func (*Server) LocalNodeInfo

LocalNodeInfo converts gRPC request message and passes it to internal netmap service.

func (*Server) NetmapSnapshot added in v0.33.0

NetmapSnapshot converts gRPC request message and passes it to internal netmap service.

func (*Server) NetworkInfo added in v0.16.0

NetworkInfo converts gRPC request message and passes it to internal netmap service.

Jump to

Keyboard shortcuts

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