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

Method Store

internal/syncx/map.go:34–36  ·  view source on GitHub ↗
(key K, value V)

Source from the content-addressed store, hash-verified

32}
33
34func (m *Map[K, V]) Store(key K, value V) {
35 m.m.Store(key, value)
36}
37
38func (m *Map[K, V]) Delete(key K) {
39 m.m.Delete(key)

Callers 15

FetchMethod · 0.80
FetchBatchMethod · 0.80
runTrustServerFunction · 0.80
TestMapLoadFunction · 0.80
TestMapStoreFunction · 0.80
TestMapDeleteFunction · 0.80
TestMapRangeFunction · 0.80
TestMapLoadAndDeleteFunction · 0.80
TestMapCompareAndSwapFunction · 0.80
TestMapCompareAndDeleteFunction · 0.80

Calls

no outgoing calls

Tested by 14

runTrustServerFunction · 0.64
TestMapLoadFunction · 0.64
TestMapStoreFunction · 0.64
TestMapDeleteFunction · 0.64
TestMapRangeFunction · 0.64
TestMapLoadAndDeleteFunction · 0.64
TestMapCompareAndSwapFunction · 0.64
TestMapCompareAndDeleteFunction · 0.64
TestMapSwapFunction · 0.64