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 NeoFS API Netmap service and provides gRPC Netmap service server interface.
func (*Server) LocalNodeInfo ¶
func (s *Server) LocalNodeInfo( ctx context.Context, req *netmapGRPC.LocalNodeInfoRequest) (*netmapGRPC.LocalNodeInfoResponse, error)
LocalNodeInfo converts gRPC request message and passes it to internal netmap service.
func (*Server) NetworkInfo ¶ added in v0.16.0
func (s *Server) NetworkInfo(ctx context.Context, req *netmapGRPC.NetworkInfoRequest) (*netmapGRPC.NetworkInfoResponse, error)
NetworkInfo converts gRPC request message and passes it to internal netmap service.
Click to show internal directories.
Click to hide internal directories.