grpc

package
v0.0.0-...-9f01b0d Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: GPL-2.0 Imports: 7 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 {
	pb.UnimplementedPortdomainServer
	// contains filtered or unexported fields
}

PortGrpcServer implements gRPC `Portdomain` service

func New

func New(storer ports.Storer) *Server

func (*Server) List

func (s *Server) List(in *emptypb.Empty, stream pb.Portdomain_ListServer) error

func (*Server) Snapshot

func (s *Server) Snapshot(ctx context.Context, in *pb.Port) (*emptypb.Empty, error)

Jump to

Keyboard shortcuts

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