Versions in this module Expand all Collapse all v0 v0.2.1 May 8, 2022 v0.2.0 May 1, 2022 v0.1.27 Apr 3, 2022 Changes in this version type Registry + func (e *Registry) Close() v0.1.26 Mar 31, 2022 Changes in this version + var Name = "etcdv3" + type Cfg struct + Name string + Prefix string + Projects []string + type Registry struct + Cfg Cfg + Client *etcdv3.Client + func (e *Registry) Deregister(s *registry2.Service, opts ...registry2.DeregOpt) error + func (e *Registry) GetService(name string, opts ...registry2.GetOpt) ([]*registry2.Service, error) + func (e *Registry) Init() + func (e *Registry) ListService(opts ...registry2.ListOpt) ([]*registry2.Service, error) + func (e *Registry) RegLoop(f func() *registry2.Service, opt ...registry2.RegOpt) error + func (e *Registry) Register(s *registry2.Service, opts ...registry2.RegOpt) error + func (e *Registry) String() string + func (e *Registry) Watch(service string, opts ...registry2.WatchOpt) (registry2.Watcher, error) + type Watcher struct + func (w *Watcher) Next() (*registry.Result, error) + func (w *Watcher) Stop() error