Redis client Mock
Provide mock test for redis query, Compatible with github.com/redis/go-redis/v9
Confirm that you are using redis.Client the version is github.com/redis/go-redis/v9
go get github.com/go-redis/redismock/v9RedisClient
…RedisCluster
clusterClient, clusterMock := redismock.NewClusterMock()RedisClient:
Subscribe / PSubscribeRedisCluster
Subscribe / PSubscribePipeline / TxPipelineWatchNo open issues yet, or sync has not completed.