Versions in this module Expand all Collapse all v0 v0.3.4 Jan 21, 2020 v0.3.2 Jan 17, 2020 Changes in this version + var ErrDuplication = errors.New("etcd: instance duplicate registration") + func Build(c *clientv3.Config, id string) naming.Resolver + func Builder(c *clientv3.Config) naming.Builder + type EtcdBuilder struct + func New(c *clientv3.Config) (e *EtcdBuilder, err error) + func (e *EtcdBuilder) Build(appid string, opts ...naming.BuildOpt) naming.Resolver + func (e *EtcdBuilder) Close() error + func (e *EtcdBuilder) Register(ctx context.Context, ins *naming.Instance) (cancelFunc context.CancelFunc, err error) + func (e *EtcdBuilder) Scheme() string + type Resolve struct + func (r *Resolve) Close() error + func (r *Resolve) Fetch(ctx context.Context) (ins *naming.InstancesInfo, ok bool) + func (r *Resolve) Watch() <-chan struct{}