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

Method History

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

History will return all historical values for the key (up to KeyValueMaxHistory).

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

Source from the content-addressed store, hash-verified

190 // History will return all historical values for the key (up to
191 // KeyValueMaxHistory).
192 History(ctx context.Context, key string, opts ...WatchOpt) ([]KeyValueEntry, error)
193
194 // Bucket returns the KV store name.
195 Bucket() string

Callers 8

TestKeyValueBasicsFunction · 0.65
TestKeyValueHistoryFunction · 0.65
TestKeyValueBasicsFunction · 0.65
TestKeyValueHistoryFunction · 0.65

Implementers 1

kvsjetstream/kv.go

Calls

no outgoing calls

Tested by 8

TestKeyValueBasicsFunction · 0.52
TestKeyValueHistoryFunction · 0.52
TestKeyValueBasicsFunction · 0.52
TestKeyValueHistoryFunction · 0.52