Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How about changing redis.Pool to interface? #149

Open
ehnuje opened this issue Jan 31, 2020 · 1 comment
Open

How about changing redis.Pool to interface? #149

ehnuje opened this issue Jan 31, 2020 · 1 comment

Comments

@ehnuje
Copy link

ehnuje commented Jan 31, 2020

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?

@taylorchu
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants