Versions in this module Expand all Collapse all v1 v1.0.6 Sep 27, 2019 Changes in this version + var DefaultAPIBuilder = NewAPIBuilder() + var DefaultHttpClientConfig = &HttpClientConfig + type APIBuilder struct + HttpClientConfig *HttpClientConfig + func NewAPIBuilder() (builder *APIBuilder) + func NewAPIBuilder2(config *HttpClientConfig) *APIBuilder + func NewCustomAPIBuilder(client *http.Client) (builder *APIBuilder) + func (builder *APIBuilder) APIKey(key string) (_builder *APIBuilder) + func (builder *APIBuilder) APISecretkey(key string) (_builder *APIBuilder) + func (builder *APIBuilder) ApiPassphrase(apiPassphrase string) (_builder *APIBuilder) + func (builder *APIBuilder) Build(exName string) (api API) + func (builder *APIBuilder) BuildFuture(exName string) (api FutureRestAPI) + func (builder *APIBuilder) ClientID(id string) (_builder *APIBuilder) + func (builder *APIBuilder) GetHttpClient() *http.Client + func (builder *APIBuilder) GetHttpClientConfig() *HttpClientConfig + func (builder *APIBuilder) HttpProxy(proxyUrl string) (_builder *APIBuilder) + func (builder *APIBuilder) HttpTimeout(timeout time.Duration) (_builder *APIBuilder) + type HttpClientConfig struct + HttpTimeout time.Duration + MaxIdleConns int + Proxy *url.URL + func (c *HttpClientConfig) SetHttpTimeout(timeout time.Duration) *HttpClientConfig + func (c *HttpClientConfig) SetMaxIdleConns(max int) *HttpClientConfig + func (c *HttpClientConfig) SetProxyUrl(proxyUrl string) *HttpClientConfig + func (c HttpClientConfig) String() string