MCPcopy
hub / github.com/etcd-io/etcd / leasingKV

Struct leasingKV

client/v3/leasing/kv.go:34–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32)
33
34type leasingKV struct {
35 cl *v3.Client
36 kv v3.KV
37 pfx string
38 leases leaseCache
39
40 ctx context.Context
41 cancel context.CancelFunc
42 wg sync.WaitGroup
43
44 sessionOpts []concurrency.SessionOption
45 session *concurrency.Session
46 sessionc chan struct{}
47}
48
49var closedCh chan struct{}
50

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected