GetMulti implements Cache.
(ctx context.Context, keys []string, opts ...Option)
| 94 | |
| 95 | // GetMulti implements Cache. |
| 96 | func (s *SnappyCache) GetMulti(ctx context.Context, keys []string, opts ...Option) map[string][]byte { |
| 97 | result, err := s.GetMultiWithError(ctx, keys, opts...) |
| 98 | if err != nil { |
| 99 | level.Warn(s.logger).Log("msg", "failed to get items from cache", "err", err) |
| 100 | } |
| 101 | return result |
| 102 | } |
| 103 | |
| 104 | // GetMultiWithError implements Cache. |
| 105 | func (s *SnappyCache) GetMultiWithError(ctx context.Context, keys []string, opts ...Option) (map[string][]byte, error) { |
nothing calls this directly
no test coverage detected