Skip to content

feat: add TLS configuration support for Redis connections #31

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

Merged
merged 1 commit into from
Jan 5, 2025
Merged

Conversation

appleboy
Copy link
Member

@appleboy appleboy commented Jan 5, 2025

  • Add TLS configuration option to the options struct
  • Introduce WithTLS option function to configure Redis connection with TLS
  • Introduce WithSkipTLSVerify option function to allow skipping TLS certificate verification
  • Update NewWorker function to include TLS configuration in Redis connection settings

fix #28

- Add TLS configuration option to the options struct
- Introduce `WithTLS` option function to configure Redis connection with TLS
- Introduce `WithSkipTLSVerify` option function to allow skipping TLS certificate verification
- Update `NewWorker` function to include TLS configuration in Redis connection settings

Signed-off-by: appleboy <appleboy.tw@gmail.com>
@appleboy appleboy merged commit 61e5e01 into main Jan 5, 2025
3 of 7 checks passed
@appleboy appleboy deleted the tls branch January 5, 2025 08:11
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 this pull request may close these issues.

How does one use TLS with golang-queue/redisdb?
1 participant