MCPcopy
hub / github.com/grafana/dskit / GetMulti

Method GetMulti

cache/mock.go:67–70  ·  view source on GitHub ↗
(ctx context.Context, keys []string, opts ...Option)

Source from the content-addressed store, hash-verified

65}
66
67func (m *MockCache) GetMulti(ctx context.Context, keys []string, opts ...Option) map[string][]byte {
68 result, _ := m.GetMultiWithError(ctx, keys, opts...)
69 return result
70}
71
72func (m *MockCache) GetMultiWithError(_ context.Context, keys []string, _ ...Option) (map[string][]byte, error) {
73 m.mu.Lock()

Callers

nothing calls this directly

Calls 1

GetMultiWithErrorMethod · 0.95

Tested by

no test coverage detected