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

can use redis.UniversalClient #104

Open
GGXXLL opened this issue Jul 16, 2021 · 1 comment
Open

can use redis.UniversalClient #104

GGXXLL opened this issue Jul 16, 2021 · 1 comment

Comments

@GGXXLL
Copy link

GGXXLL commented Jul 16, 2021

github.com/go-redis/redis/v8 privide UniversalClient.

There is basically no difference between the two redis stores. So i think the RedisClusterClientInterface interface can be removed.

Users should not modify the code when switching redis single node to cluster. They just need to modify the address array in the configuration.

What do you think?

@coolblknerd
Copy link
Contributor

+1

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