mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-05 15:10:59 +00:00
Support configurable HTTP user agent per exchange
This commit is contained in:
@@ -67,6 +67,7 @@ func (i *ItBit) Setup(exch config.ExchangeConfig) {
|
||||
i.AuthenticatedAPISupport = exch.AuthenticatedAPISupport
|
||||
i.SetAPIKeys(exch.APIKey, exch.APISecret, exch.ClientID, false)
|
||||
i.SetHTTPClientTimeout(exch.HTTPTimeout)
|
||||
i.SetHTTPClientUserAgent(exch.HTTPUserAgent)
|
||||
i.RESTPollingDelay = exch.RESTPollingDelay
|
||||
i.Verbose = exch.Verbose
|
||||
i.Websocket = exch.Websocket
|
||||
|
||||
Reference in New Issue
Block a user