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

Inject http client #1

Open
aidenwu1018 opened this issue May 9, 2019 · 2 comments
Open

Inject http client #1

aidenwu1018 opened this issue May 9, 2019 · 2 comments

Comments

@aidenwu1018
Copy link

can we inject the http client into the NewTracker ?

Something like:
af.NewTracker(h http.client)

@aidenwu1018
Copy link
Author

@erictse

@erictse
Copy link
Contributor

erictse commented Jan 5, 2021

Hey, @aidenwu1018. Sorry, I missed the activity here. Is this request for the purpose of easier unit testing?

Would something like this work for you? #4

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

No branches or pull requests

2 participants