MCPcopy
hub / github.com/gogf/gf / Registry

Struct Registry

contrib/registry/etcd/etcd.go:30–37  ·  view source on GitHub ↗

Registry implements gsvc.Registry interface.

Source from the content-addressed store, hash-verified

28
29// Registry implements gsvc.Registry interface.
30type 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.
40type Option struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected