Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRegistryHandler ¶
func RegisterRegistryHandler(s server.Server, hdlr RegistryHandler, opts ...server.HandlerOption) error
Types ¶
type RegistryHandler ¶
type RegistryHandler interface { GetService(context.Context, *GetRequest, *GetResponse) error Register(context.Context, *Service, *EmptyResponse) error Deregister(context.Context, *Service, *EmptyResponse) error ListServices(context.Context, *ListRequest, *ListResponse) error Watch(context.Context, *WatchRequest, Registry_WatchStream) error }
type RegistryService ¶
type RegistryService interface { GetService(ctx context.Context, in *GetRequest, opts ...client.CallOption) (*GetResponse, error) Register(ctx context.Context, in *Service, opts ...client.CallOption) (*EmptyResponse, error) Deregister(ctx context.Context, in *Service, opts ...client.CallOption) (*EmptyResponse, error) ListServices(ctx context.Context, in *ListRequest, opts ...client.CallOption) (*ListResponse, error) Watch(ctx context.Context, in *WatchRequest, opts ...client.CallOption) (Registry_WatchService, error) }
func NewRegistryService ¶
func NewRegistryService(name string, c client.Client) RegistryService
type Registry_WatchService ¶
Click to show internal directories.
Click to hide internal directories.