Skip to content

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