-
Notifications
You must be signed in to change notification settings - Fork 684
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Redis ACL and/or URL #30
Comments
opt, err := redis.ParseURL("rediss://<user>:<pass>@localhost:6379/<db>")
if err != nil {
panic(err)
}
rdb := redis.NewClient(opt) I'm not too familiar with Go but my first impression was to use opt := redis.ParseURL(config.Redis.Address)
//pseudocode
if(config.Redis.Password != "") {
opt.Password = config.Redis.Password
}
// /pseudocode
rc := redis.NewClient(opt) But that might be confusing. Might be better to accept |
Added Redis ACL support in 54584d6 (v0.7.5). Will handle DB selection in the future. |
this capability has been added. |
Currently we have a password field, but no username. Redis 6.0+ introduced username/password pairs, that we should support.
The text was updated successfully, but these errors were encountered: