MCPcopy
hub / github.com/micro/go-micro / etcdWatcher

Struct etcdWatcher

registry/etcd/watcher.go:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10)
11
12type etcdWatcher struct {
13 stop chan bool
14 w clientv3.WatchChan
15 client *clientv3.Client
16 timeout time.Duration
17}
18
19func newEtcdWatcher(r *etcdRegistry, timeout time.Duration, opts ...registry.WatchOption) (registry.Watcher, error) {
20 var wo registry.WatchOptions

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected