| 11 | ) |
| 12 | |
| 13 | type Cache struct { |
| 14 | client *redis.Client |
| 15 | wt time.Duration |
| 16 | rt time.Duration |
| 17 | } |
| 18 | |
| 19 | func NewCache(c *redis.Client, wt time.Duration, rt time.Duration) *Cache { |
| 20 | return &Cache{ |
nothing calls this directly
no outgoing calls
no test coverage detected