1
0
mirror of https://github.com/redis/go-redis.git synced 2025-08-07 12:42:55 +03:00

Add basic example how to use Redis Cluster. Unify comments.

This commit is contained in:
Vladimir Mihailenco
2015-05-23 16:35:30 +03:00
parent 1eb3e076ed
commit f6ef0fd342
3 changed files with 16 additions and 4 deletions

View File

@@ -84,7 +84,7 @@ func (opt *FailoverOptions) options() *options {
}
}
// NewFailoverClient returns Redis client with automatic failover
// NewFailoverClient returns a Redis client with automatic failover
// capabilities using Redis Sentinel.
func NewFailoverClient(failoverOpt *FailoverOptions) *Client {
opt := failoverOpt.options()