Skip to content
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

Add password authentication redis check #81

Closed
E22T07 opened this issue Oct 18, 2022 · 0 comments · Fixed by #83
Closed

Add password authentication redis check #81

E22T07 opened this issue Oct 18, 2022 · 0 comments · Fixed by #83

Comments

@E22T07
Copy link

E22T07 commented Oct 18, 2022

Hi, I want to use the redis check but it is necessary for me to use the authentication and in the redis check I saw that for the redis client you only set the Addr option, it is possible to add the password parameter to make the authentication works?

return func(ctx context.Context) error { redisClient := redis.NewClient(&redis.Options{ Addr: config.DSN, Password: config.Password, }) defer redisClient.Close()

Thanks

eliflores pushed a commit that referenced this issue Oct 19, 2022
eliflores pushed a commit that referenced this issue Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant