(value string)
| 22 | } |
| 23 | |
| 24 | func (c *Cache) computeHashKey(value string) string { |
| 25 | return hasher.Hash(value) |
| 26 | } |
| 27 | |
| 28 | func (c *Cache) StoreBytes(key string, value []byte, ttl time.Duration) error { |
| 29 | return c.store.Set(c.computeHashKey(key), value, ttl) |
no test coverage detected