RedisCache type caches chunks in redis
| 17 | |
| 18 | // RedisCache type caches chunks in redis |
| 19 | type RedisCache struct { |
| 20 | name string |
| 21 | redis *RedisClient |
| 22 | logger log.Logger |
| 23 | requestDuration *instr.HistogramCollector |
| 24 | } |
| 25 | |
| 26 | // NewRedisCache creates a new RedisCache |
| 27 | func NewRedisCache(name string, redisClient *RedisClient, reg prometheus.Registerer, logger log.Logger) *RedisCache { |
nothing calls this directly
no outgoing calls
no test coverage detected