1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-29 17:41:15 +03:00

Update changelog

This commit is contained in:
Vladimir Mihailenco
2020-09-05 17:39:26 +03:00
parent ef220d0944
commit df7fe4e2ce
2 changed files with 13 additions and 11 deletions

View File

@ -26,6 +26,9 @@ type FailoverOptions struct {
// Sentinel password from "requirepass <password>" (if enabled) in Sentinel configuration
SentinelPassword string
// Enables read-only commands on slave nodes.
ReadOnly bool
// Following options are copied from Options struct.
Dialer func(ctx context.Context, network, addr string) (net.Conn, error)
@ -51,9 +54,6 @@ type FailoverOptions struct {
IdleCheckFrequency time.Duration
TLSConfig *tls.Config
// Enables read-only commands on slave nodes.
ReadOnly bool
}
func (opt *FailoverOptions) options() *Options {