andrew-waters / gomo

A Go client for the Moltin API
MIT License
5 stars 4 forks source link

Allow the http client to be overridden #22

Closed jamesfcarter closed 4 years ago

jamesfcarter commented 5 years ago

This might be generally useful to allow clients to have a specific timeout or whatever, but the specific reason I wanted it was to have a custom transport so that I could inject the necessary headers to bypass authentication and target the backend services in the dev environment.