| 12 | var _ hconf.DataSource = (*etcdConfig)(nil) |
| 13 | |
| 14 | type etcdConfig struct { |
| 15 | client *clientv3.Client |
| 16 | options *options |
| 17 | } |
| 18 | |
| 19 | func NewEtcdConfig(cli *clientv3.Client, opts ...Option) (hconf.DataSource, error) { |
| 20 | if cli == nil { |
nothing calls this directly
no outgoing calls
no test coverage detected