We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 730afbc commit ab0ccc4Copy full SHA for ab0ccc4
universal.go
@@ -25,6 +25,7 @@ type UniversalOptions struct {
25
26
Username string
27
Password string
28
+ SentinelUsername string
29
SentinelPassword string
30
31
MaxRetries int
@@ -114,6 +115,7 @@ func (o *UniversalOptions) Failover() *FailoverOptions {
114
115
DB: o.DB,
116
Username: o.Username,
117
Password: o.Password,
118
+ SentinelUsername: o.SentinelUsername,
119
SentinelPassword: o.SentinelPassword,
120
121
MaxRetries: o.MaxRetries,
0 commit comments