Versions in this module Expand all Collapse all v1 v1.0.0 Jul 14, 2019 Changes in this version + type EtcdConfig struct + Name string + func NewEtcdConfig(uri string) (etcdConfig *EtcdConfig, err error) + func (ec *EtcdConfig) Close() error + func (ec *EtcdConfig) ReadConfig() (data []byte, err error) + func (ec *EtcdConfig) Watch(fn func()) + func (ec *EtcdConfig) WriteConfig(data []byte) (err error) + type ReadWriter interface + Close func() error + ReadConfig func() ([]byte, error) + Watch func(func()) + WriteConfig func([]byte) error