(ctx context.Context, key string, value []byte, ttl time.Duration)
| 42 | } |
| 43 | |
| 44 | func (c *Versioned) Set(ctx context.Context, key string, value []byte, ttl time.Duration) error { |
| 45 | return c.cache.Set(ctx, c.addVersion(key), value, ttl) |
| 46 | } |
| 47 | |
| 48 | func (c *Versioned) Add(ctx context.Context, key string, value []byte, ttl time.Duration) error { |
| 49 | return c.cache.Add(ctx, c.addVersion(key), value, ttl) |
nothing calls this directly
no test coverage detected