grpc

package
v0.42.7 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: GPL-3.0 Imports: 4 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 struct {
	// contains filtered or unexported fields
}

Server wraps FrostFS 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

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

func (*Server) NetworkInfo

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