gocache icon indicating copy to clipboard operation
gocache copied to clipboard

can use redis.UniversalClient

Open GGXXLL opened this issue 3 years ago • 1 comments

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?

GGXXLL avatar Jul 16 '21 02:07 GGXXLL

+1

coolblknerd avatar Apr 24 '22 19:04 coolblknerd