metaverse / truss

Truss helps you build go-kit microservices without having to worry about writing or maintaining boilerplate code.
Other
734 stars 143 forks source link

Move ClientOptions to go-kit ClientOptions #287

Closed lelandbatey closed 4 years ago

lelandbatey commented 4 years ago

By removing our old truss-specific ClientOptions and instead using standard go-kit ClientOptions, this allows a developer to leverage more out-of-the-box functionality without needing to adapt truss to support those options.

This change was made to allow a custom http.Client to be provided to New(), allowing for a different client that http.DefaultClient.