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

feat: add TLS support #103

Merged
merged 5 commits into from Dec 31, 2023
Merged

feat: add TLS support #103

merged 5 commits into from Dec 31, 2023

Conversation

tanmaykm
Copy link
Member

This adds TLS support. An abstraction for the redis transport RedisTransport has been added. The existing TCP transport has been moved in as an implementation TCPTransport <: RedisTransport. A new TLS transport has been added as TLSTransport <: RedisTransport.

This can in future be extended to support unix sockets too (ref: #84)

fixes: #87

This adds TLS support. An abstraction for the redis transport `RedisTransport` has been added. The existing TCP transport has been moved in as an implementation `TCPTransport <: RedisTransport`. A new TLS transport has been added as `TLSTransport <: RedisTransport`.

This can in future be extended to support unix sockets too (ref: #84)

fixes: #87
Copy link

codecov bot commented Dec 28, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (fcd0353) 80.21% compared to head (10dd621) 82.76%.

Files Patch % Lines
src/connection.jl 85.71% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #103      +/-   ##
==========================================
+ Coverage   80.21%   82.76%   +2.55%     
==========================================
  Files           6        9       +3     
  Lines         369      412      +43     
==========================================
+ Hits          296      341      +45     
+ Misses         73       71       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tanmaykm tanmaykm marked this pull request as ready for review December 28, 2023 09:28
Copy link
Collaborator

@jkaye2012 jkaye2012 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, few minor touch ups to the docs and I think we'll be good to go

src/transport/transport.jl Outdated Show resolved Hide resolved
src/transport/transport.jl Outdated Show resolved Hide resolved
src/transport/transport.jl Outdated Show resolved Hide resolved
@jkaye2012 jkaye2012 merged commit 85c65fc into master Dec 31, 2023
5 checks passed
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.

Add TLS support?
2 participants