Versions in this module Expand all Collapse all v0 v0.0.1 Jul 22, 2021 Changes in this version + type EtcdConfig struct + Endpoints []string + Key string + type EtcdDiscover struct + func (d *EtcdDiscover) GetServices(ctx context.Context, sn string) ([]*discov.Service, error) + func (d EtcdDiscover) Watch(ctx context.Context) error + type EtcdRegister struct + func NewEtcdRegister(eps []string, key, value string) *EtcdRegister + func (e *EtcdRegister) Deregister(ctx context.Context) + func (e *EtcdRegister) Register(ctx context.Context) error