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

Function MetaOnly

kv.go:202–207  ·  view source on GitHub ↗

MetaOnly instructs the key watcher to retrieve only the entry meta data, not the entry value

()

Source from the content-addressed store, hash-verified

200
201// MetaOnly instructs the key watcher to retrieve only the entry meta data, not the entry value
202func MetaOnly() WatchOpt {
203 return watchOptFn(func(opts *watchOpts) error {
204 opts.metaOnly = true
205 return nil
206 })
207}
208
209type PurgeOpt interface {
210 configurePurge(opts *purgeOpts) error

Callers 2

KeysMethod · 0.70
ListKeysMethod · 0.70

Calls 1

watchOptFnFuncType · 0.70

Tested by

no test coverage detected