| 33 | } |
| 34 | |
| 35 | type interactiveCache struct { |
| 36 | client redis.Cmdable |
| 37 | locker *redislock.Client |
| 38 | incrByScript *redis.Script |
| 39 | } |
| 40 | |
| 41 | func NewInteractiveCache(client redis.Cmdable) InteractiveCache { |
| 42 | locker := redislock.New(client) |
nothing calls this directly
no outgoing calls
no test coverage detected