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