MCPcopy Create free account
hub / github.com/corestoreio/pkg / SetMulti

Method SetMulti

storage/objcache/service.go:289–311  ·  view source on GitHub ↗

SetMulti allows a cache to write several entities at once. For example using Redis MSET. Same logic applies as when using `Set`.

(ctx context.Context, keys []K, src []any, expires []time.Duration)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

TestMakeBinaryFunction · 0.80
TestService_EncodingFunction · 0.80
NewTestServiceDeleteFunction · 0.80

Calls 4

poolGetRawItemsMethod · 0.95
poolPutRawItemsMethod · 0.95
encodeAllFunction · 0.85
SetMethod · 0.65

Tested by 2

TestMakeBinaryFunction · 0.64
TestService_EncodingFunction · 0.64