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

Method Status

kv.go:1240–1247  ·  view source on GitHub ↗

Status retrieves the status and configuration of a bucket

()

Source from the content-addressed store, hash-verified

1238
1239// Status retrieves the status and configuration of a bucket
1240func (kv *kvs) Status() (KeyValueStatus, error) {
1241 nfo, err := kv.js.StreamInfo(kv.stream)
1242 if err != nil {
1243 return nil, err
1244 }
1245
1246 return &KeyValueBucketStatus{nfo: nfo, bucket: kv.name}, nil
1247}
1248
1249// KeyValueStoreNames is used to retrieve a list of key value store names
1250func (js *js) KeyValueStoreNames() <-chan string {

Callers

nothing calls this directly

Calls 1

StreamInfoMethod · 0.65

Tested by

no test coverage detected