1
0
mirror of https://github.com/redis/go-redis.git synced 2025-04-23 16:25:34 +03:00

feat: add support for acl sentinel auth in universal client

This commit is contained in:
Justin Sievenpiper 2022-02-28 14:55:37 -08:00
parent 730afbcffb
commit ab0ccc4741
No known key found for this signature in database
GPG Key ID: D6EBDF6E02063A18

@ -25,6 +25,7 @@ type UniversalOptions struct {
Username string
Password string
SentinelUsername string
SentinelPassword string
MaxRetries int
@ -114,6 +115,7 @@ func (o *UniversalOptions) Failover() *FailoverOptions {
DB: o.DB,
Username: o.Username,
Password: o.Password,
SentinelUsername: o.SentinelUsername,
SentinelPassword: o.SentinelPassword,
MaxRetries: o.MaxRetries,