Documentation ¶
Index ¶
- type Registry
- func (r *Registry) Close() error
- func (r *Registry) ListService(ctx context.Context, serviceName string) ([]registry.ServiceInstance, error)
- func (r *Registry) Register(ctx context.Context, si registry.ServiceInstance) error
- func (r *Registry) Subscribe(serviceName string) (<-chan registry.Event, error)
- func (r *Registry) UnRegister(ctx context.Context, si registry.ServiceInstance) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func (*Registry) ListService ¶
func (*Registry) UnRegister ¶
Click to show internal directories.
Click to hide internal directories.