diff --git a/sentinel.go b/sentinel.go index 26ab4855..87249696 100644 --- a/sentinel.go +++ b/sentinel.go @@ -84,6 +84,8 @@ func (opt *FailoverOptions) options() *options { } } +// NewFailoverClient returns Redis client with automatic failover +// capabilities using Redis Sentinel. func NewFailoverClient(failoverOpt *FailoverOptions) *Client { opt := failoverOpt.options() failover := &sentinelFailover{