1
0
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:
Vladimir Mihailenco
2014-07-13 15:49:33 +03:00
parent 2651b57a91
commit ffe62d60e2
5 changed files with 25 additions and 5 deletions

View File

@ -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 {