Documentation ¶
Overview ¶
copy from go-plugins/registry/etcdv3 Package etcdv3 provides an etcd version 3 registry
Index ¶
- Variables
- func Auth(username, password string) registry.Option
- func NewRegistry() registry.Registry
- type Registry
- func (e *Registry) Deregister(s *registry.Service) error
- func (e *Registry) GetService(name string) ([]*registry.Service, error)
- func (e *Registry) Init(opts ...registry.Option) error
- func (e *Registry) ListServices() ([]*registry.Service, error)
- func (e *Registry) Options() registry.Options
- func (e *Registry) Register(s *registry.Service, opts ...registry.RegisterOption) error
- func (e *Registry) String() string
- func (e *Registry) Watch(opts ...registry.WatchOption) (registry.Watcher, error)
- type Watcher
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Name = "etcdv3"
)
Functions ¶
func NewRegistry ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.