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

Method String

kv.go:309–320  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

307)
308
309func (op KeyValueOp) String() string {
310 switch op {
311 case KeyValuePut:
312 return "KeyValuePutOp"
313 case KeyValueDelete:
314 return "KeyValueDeleteOp"
315 case KeyValuePurge:
316 return "KeyValuePurgeOp"
317 default:
318 return "Unknown Operation"
319 }
320}
321
322// KeyValueEntry is a retrieved entry for Get or List or Watch.
323type KeyValueEntry interface {

Callers 6

getMethod · 0.45
PutMethod · 0.45
UpdateMethod · 0.45
DeleteMethod · 0.45
PurgeDeletesMethod · 0.45
WatchFilteredMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected