go-redis / cache

Cache library with Redis backend for Golang
https://redis.uptrace.dev/guide/go-redis-cache.html
BSD 2-Clause "Simplified" License
757 stars 95 forks source link

Feature request: cluster mode + non-cluster mode support #57

Open apremalal opened 3 years ago

apremalal commented 3 years ago

First of all, thanks for the great library. I have a use case of requiring the cache client to be able to use either cluster mode or non-cluster mode. My production environment has a redis cluster but the development has a single node redis. It'd be really helpful if you could expose one interface to handle both cases.

vmihailenco commented 3 years ago

It looks like you are looking for Universal client