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

Method String

jetstream/kv.go:469–480  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

467)
468
469func (op KeyValueOp) String() string {
470 switch op {
471 case KeyValuePut:
472 return "KeyValuePutOp"
473 case KeyValueDelete:
474 return "KeyValueDeleteOp"
475 case KeyValuePurge:
476 return "KeyValuePurgeOp"
477 default:
478 return "Unknown Operation"
479 }
480}
481
482const (
483 kvBucketNamePre = "KV_"

Callers 14

apiSubjectMethod · 0.45
getMethod · 0.45
PutMethod · 0.45
updateRevisionMethod · 0.45
DeleteMethod · 0.45
WatchFilteredMethod · 0.45
PurgeDeletesMethod · 0.45
GetStringMethod · 0.45
WithScheduleEveryFunction · 0.45
WithScheduleTTLFunction · 0.45
PublishMsgMethod · 0.45
PublishMsgAsyncMethod · 0.45

Calls

no outgoing calls

Tested by 1

setupJSClusterWithSizeFunction · 0.36