grpc

package
v1.281.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(gs *grpc.Server, server *Server)

Register server.

Types

type Server

type Server struct {
	v1.UnimplementedServiceServer
	// contains filtered or unexported fields
}

Server for gRPC.

func NewServer

func NewServer(id *ids.Identifier) *Server

NewServer for gRPC.

func (*Server) GenerateIdentifiers

GetIdentifiers for gRPC.

func (*Server) MapIdentifiers

func (s *Server) MapIdentifiers(ctx context.Context, req *v1.MapIdentifiersRequest) (*v1.MapIdentifiersResponse, error)

MapIdentifiers for gRPC.

Jump to

Keyboard shortcuts

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