MCPcopy
hub / github.com/nats-io/nats.go / ListKeys

Method ListKeys

jetstream/kv.go:183–183  ·  view source on GitHub ↗

ListKeys will return KeyLister, allowing to retrieve all keys from the key value store in a streaming fashion (on a channel). Note: On buckets with a large number of keys and frequent writes, duplicate keys may be reported during listing.

(ctx context.Context, opts ...WatchOpt)

Source from the content-addressed store, hash-verified

181 // Note: On buckets with a large number of keys and frequent writes,
182 // duplicate keys may be reported during listing.
183 ListKeys(ctx context.Context, opts ...WatchOpt) (KeyLister, error)
184
185 // ListKeysFiltered returns a KeyLister for filtered keys in the bucket.
186 // Note: On buckets with a large number of keys and frequent writes,

Callers 3

TestKeyValueListKeysFunction · 0.65
TestKeyValueListKeysFunction · 0.65

Implementers 1

kvsjetstream/kv.go

Calls

no outgoing calls

Tested by 3

TestKeyValueListKeysFunction · 0.52
TestKeyValueListKeysFunction · 0.52