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 WithTransport option to set TLS config #102

Merged
merged 1 commit into from
Aug 30, 2021
Merged

Conversation

bluekeyes
Copy link
Member

Users can provide an http.Transport instance with non-default TLS, proxy, or timeout settings.

Fixes #101. I went with a general approach to avoid having to add option functions for other http.Transport fields in the future.

Users can provide an http.Transport instance with non-default TLS,
proxy, or timeout settings.
@bluekeyes bluekeyes requested a review from a team August 27, 2021 22:12
Copy link

@davidkarlsen davidkarlsen left a comment

Choose a reason for hiding this comment

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

lgtm

@asvoboda
Copy link
Member

👍

@bluekeyes bluekeyes merged commit 08ca97a into develop Aug 30, 2021
@bluekeyes bluekeyes deleted the bkeyes/with-transport branch August 30, 2021 14:46
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.

howto set CA to trust, or set tls options
3 participants