gocraft / work

Process background jobs in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How about changing `redis.Pool` to interface?

ehnuje opened this issue · comments

As we use Redis cluster in our development, we're using redisc package to handle Redis cluster. But, as gocraft/work only receives *redis.Pool struct as a parameter, redisc can't be passed. It can be done by changing the usages of redis.Pool to an interface.

Or do you know anything about using Redis cluster of raidss with gocraft/work?