(ctx context.Context, keys []string, opts ...Option)
| 50 | } |
| 51 | |
| 52 | func (c *Versioned) GetMulti(ctx context.Context, keys []string, opts ...Option) map[string][]byte { |
| 53 | result, err := c.GetMultiWithError(ctx, keys, opts...) |
| 54 | if err != nil { |
| 55 | level.Warn(c.logger).Log("msg", "failed to get items from cache", "err", err) |
| 56 | } |
| 57 | return result |
| 58 | } |
| 59 | |
| 60 | func (c *Versioned) GetMultiWithError(ctx context.Context, keys []string, opts ...Option) (map[string][]byte, error) { |
| 61 | versionedKeys := make([]string, len(keys)) |