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

Method Get

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

Get returns the latest value for the key. If the key does not exist, ErrKeyNotFound will be returned.

(ctx context.Context, key string)

Source from the content-addressed store, hash-verified

93 // Get returns the latest value for the key. If the key does not exist,
94 // ErrKeyNotFound will be returned.
95 Get(ctx context.Context, key string) (KeyValueEntry, error)
96
97 // GetRevision returns a specific revision value for the key. If the key
98 // does not exist or the provided revision does not exists,

Callers 15

handleAsyncReplyMethod · 0.65
isJSControlMessageFunction · 0.65
checkMsgFunction · 0.65
wsInitHandshakeMethod · 0.65
getMethod · 0.65
WatchFilteredMethod · 0.65
GetMethod · 0.65
TestHeaderParserFunction · 0.65
GetMethod · 0.65
processMsgMethod · 0.65

Implementers 1

kvsjetstream/kv.go

Calls

no outgoing calls

Tested by 15

TestHeaderParserFunction · 0.52
TestConsumerPinnedFunction · 0.52
TestConsumerUnpinFunction · 0.52
TestPublishWithTTLFunction · 0.52
TestPublishAsyncWithTTLFunction · 0.52