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

Allow custom http client #37

Closed
wants to merge 2 commits into from
Closed

Allow custom http client #37

wants to merge 2 commits into from

Conversation

andig
Copy link

@andig andig commented Jan 30, 2021

Allow setting logger on client. I've simply added the client interface to the auth struct. No new methods.

All tests are passing:

--- PASS: TestVehiclesSpec (0.00s)
PASS
ok      github.com/jsgoecke/tesla       0.277s
?       github.com/jsgoecke/tesla/examples      [no test files]

Replaces #21

@andig andig closed this Feb 9, 2021
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.

1 participant