MCPcopy
hub / github.com/hwholiday/learning_tools / etcdConfig

Struct etcdConfig

hconfig/etcd/config.go:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12var _ hconf.DataSource = (*etcdConfig)(nil)
13
14type etcdConfig struct {
15 client *clientv3.Client
16 options *options
17}
18
19func NewEtcdConfig(cli *clientv3.Client, opts ...Option) (hconf.DataSource, error) {
20 if cli == nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected