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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user