| 24 | } |
| 25 | |
| 26 | type rankingCache struct { |
| 27 | client redis.Cmdable |
| 28 | key string |
| 29 | expiration time.Duration |
| 30 | logger *zap.Logger |
| 31 | } |
| 32 | |
| 33 | func NewRankingRedisCache(client redis.Cmdable, logger *zap.Logger) RankingRedisCache { |
| 34 | return &rankingCache{ |
nothing calls this directly
no outgoing calls
no test coverage detected