[FEATURE] убрать отдельный ClusterClient/Client и использовать UniversalClient #113
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
в последних версиях редис появился интерфейс UniversalClient https://pkg.go.dev/github.com/go-redis/redis#UniversalClient
нужно убрать https://git.unistack.org/unistack-org/micro-store-redis/src/branch/master/redis.go#L20
заменить https://git.unistack.org/unistack-org/micro-store-redis/src/branch/master/redis.go#L46 на redis.UniversalClient
переделать https://git.unistack.org/unistack-org/micro-store-redis/src/branch/master/redis.go#L352 на заполнение опций для universal client
сделать доп опцию UniversalConfig и просто Config https://git.unistack.org/unistack-org/micro-store-redis/src/branch/master/options.go