Registry implements gsvc.Registry interface.
| 28 | |
| 29 | // Registry implements gsvc.Registry interface. |
| 30 | type Registry struct { |
| 31 | client *etcd3.Client |
| 32 | kv etcd3.KV |
| 33 | lease etcd3.Lease |
| 34 | keepaliveTTL time.Duration |
| 35 | logger glog.ILogger |
| 36 | etcdConfig etcd3.Config |
| 37 | } |
| 38 | |
| 39 | // Option is the option for the etcd registry. |
| 40 | type Option struct { |
nothing calls this directly
no outgoing calls
no test coverage detected