Documentation ¶
Index ¶
- type Registry
- func (r *Registry) Close() error
- func (r *Registry) ListServices(ctx context.Context, name string) ([]registry.ServiceInstance, error)
- func (r *Registry) Registry(ctx context.Context, si registry.ServiceInstance) error
- func (r *Registry) Subscribe(name string) (<-chan registry.Event, error)
- func (r *Registry) UnRegistry(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 NewRegistry ¶
func NewRegistry(c *clientv3.Client, opts ...concurrency.SessionOption) (*Registry, error)
func (*Registry) ListServices ¶
func (*Registry) UnRegistry ¶
Click to show internal directories.
Click to hide internal directories.