grpc

package
v3.0.0-rc1+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2021 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NotImplemented = errors.New("notimplemented", "service not implemented", 501)
)

Functions

This section is empty.

Types

type Handler

type Handler struct{}

func (*Handler) Deregister

func (h *Handler) Deregister(ctx context.Context, s *pb.Service, resp *pb.EmptyResponse) error

func (*Handler) GetService

func (h *Handler) GetService(ctx context.Context, req *pb.GetRequest, resp *pb.GetResponse) error

func (*Handler) ListServices

func (h *Handler) ListServices(ctx context.Context, req *pb.ListRequest, resp *pb.ListResponse) error

func (*Handler) Register

func (h *Handler) Register(ctx context.Context, s *pb.Service, resp *pb.EmptyResponse) error

func (*Handler) Watch

func (h *Handler) Watch(ctx context.Context, req *pb.WatchRequest, stream pb.Registry_WatchStream) error

Source Files

  • handler.go
  • plugins.go

Jump to

Keyboard shortcuts

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