We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
like NewQuoteFromYahoo, proxy and timeout parameter is useful when concurrent data downloading. Thank you.
NewQuoteFromYahoo
func SetProxy(client *http.Client, proxyUrlString string) error { if proxyUrlString == "" { return nil } ui_proxy, err := url.Parse(proxyUrlString) if err != nil { return err } transport := http.DefaultTransport.(*http.Transport) if client.Transport != nil { transport = client.Transport.(*http.Transport) } transport.Proxy = http.ProxyURL(ui_proxy) client.Transport = transport return nil } func SetTimeout(client *http.Client, to time.Duration) { client.Timeout = to }
The text was updated successfully, but these errors were encountered:
Seems like it would be useful, but I am quite busy with other things at the moment. I will put it in my list. Pull requests welcome!
Sorry, something went wrong.
No branches or pull requests
like
NewQuoteFromYahoo
, proxy and timeout parameter is useful when concurrent data downloading. Thank you.The text was updated successfully, but these errors were encountered: