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

HTTPClient interface #754

Merged
merged 2 commits into from
Aug 23, 2018
Merged

HTTPClient interface #754

merged 2 commits into from
Aug 23, 2018

Conversation

drscre
Copy link
Contributor

@drscre drscre commented Aug 20, 2018

Use HTTPClient interface instead of *http.Client in transport to facilitate use of http middlewares.
#753

@drscre drscre mentioned this pull request Aug 21, 2018
3 tasks
Copy link
Member

@peterbourgon peterbourgon left a comment

Choose a reason for hiding this comment

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

Thanks, one thing though.

@@ -12,9 +12,14 @@ import (
"github.com/go-kit/kit/endpoint"
)

// HTTPClient is an interface for http clients
Copy link
Member

Choose a reason for hiding this comment

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

Please use proper spelling and punctuation.

// HTTPClient is an interface that models *http.Client.

@drscre
Copy link
Contributor Author

drscre commented Aug 23, 2018

fixed

@peterbourgon peterbourgon merged commit 4914a69 into go-kit:master Aug 23, 2018
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.

2 participants