Documentation ¶
Index ¶
- type Handler
- func (h *Handler) Deregister(ctx context.Context, s *pb.Service, resp *pb.EmptyResponse) error
- func (h *Handler) GetService(ctx context.Context, req *pb.GetRequest, resp *pb.GetResponse) error
- func (h *Handler) ListServices(ctx context.Context, req *pb.ListRequest, resp *pb.ListResponse) error
- func (h *Handler) Register(ctx context.Context, s *pb.Service, resp *pb.EmptyResponse) error
- func (h *Handler) Watch(ctx context.Context, req *pb.WatchRequest, stream pb.Registry_WatchStream) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct{}
func (*Handler) Deregister ¶
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) Watch ¶
func (h *Handler) Watch(ctx context.Context, req *pb.WatchRequest, stream pb.Registry_WatchStream) error
Click to show internal directories.
Click to hide internal directories.