(ctx context.Context, keys []string, opts ...Option)
| 143 | } |
| 144 | |
| 145 | func (l *LRUCache) GetMulti(ctx context.Context, keys []string, opts ...Option) (result map[string][]byte) { |
| 146 | result, err := l.GetMultiWithError(ctx, keys, opts...) |
| 147 | if err != nil { |
| 148 | level.Warn(l.logger).Log("msg", "failed to get items from cache", "err", err) |
| 149 | } |
| 150 | return result |
| 151 | } |
| 152 | |
| 153 | func (l *LRUCache) GetMultiWithError(ctx context.Context, keys []string, opts ...Option) (result map[string][]byte, err error) { |
| 154 | l.requests.Add(float64(len(keys))) |
nothing calls this directly
no test coverage detected