Documentation ¶
Index ¶
- type Handler
- func (h *Handler) Deregister(ctx context.Context, item *pb.Item) (*pb.EmptyResponse, error)
- func (h *Handler) Get(ctx context.Context, req *pb.GetRequest) (*pb.GetResponse, error)
- func (h *Handler) List(ctx context.Context, req *pb.ListRequest) (*pb.ListResponse, error)
- func (h *Handler) Name() string
- func (h *Handler) NewLocker(server pb.Registry_NewLockerServer) error
- func (h *Handler) Register(ctx context.Context, item *pb.Item) (*pb.EmptyResponse, error)
- func (h *Handler) Start(ctx context.Context, item *pb.Item) (*pb.EmptyResponse, error)
- func (h *Handler) Stop(ctx context.Context, item *pb.Item) (*pb.EmptyResponse, error)
- func (h *Handler) Watch(req *pb.WatchRequest, stream pb.Registry_WatchServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { pb.UnimplementedRegistryServer // contains filtered or unexported fields }
func NewHandler ¶
func (*Handler) Deregister ¶
func (*Handler) Get ¶
func (h *Handler) Get(ctx context.Context, req *pb.GetRequest) (*pb.GetResponse, error)
func (*Handler) List ¶
func (h *Handler) List(ctx context.Context, req *pb.ListRequest) (*pb.ListResponse, error)
func (*Handler) NewLocker ¶ added in v4.0.4
func (h *Handler) NewLocker(server pb.Registry_NewLockerServer) error
func (*Handler) Watch ¶
func (h *Handler) Watch(req *pb.WatchRequest, stream pb.Registry_WatchServer) error
Click to show internal directories.
Click to hide internal directories.