mirror of
https://github.com/redis/go-redis.git
synced 2025-07-31 05:04:23 +03:00
Add example for failover client.
This commit is contained in:
@ -86,7 +86,7 @@ func TestSentinel(t *testing.T) {
|
||||
masterName := "mymaster"
|
||||
masterPort := "8123"
|
||||
slavePort := "8124"
|
||||
sentinelPort := "26379"
|
||||
sentinelPort := "8125"
|
||||
|
||||
_, err := startRedis(masterPort)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user