Versions in this module Expand all Collapse all v1 v1.0.6 Oct 31, 2016 v1.0.5 Sep 28, 2016 Changes in this version + const DefaultTimeout + func DefaultClient() *http.Client + func DefaultPooledClient() *http.Client + func DefaultPooledTransport() *http.Transport + func DefaultTransport() *http.Transport + type Client struct + CustomHTTPHeaders map[string]string + HttpClient *http.Client + TLSConfig *tls.Config + func NewClient(httpClient *http.Client, customHeaders map[string]string) (*Client, error) + func NewTLSClient(tlsCaCert, tlsCert, tlsKey string, httpClient *http.Client, ...) (*Client, error) + func (cli *Client) DELETE(ctx context.Context, requestUrl string, query url.Values, ...) ([]byte, error) + func (cli *Client) GET(ctx context.Context, requestUrl string, query url.Values, ...) ([]byte, error) + func (cli *Client) PATCH(ctx context.Context, requestUrl string, query url.Values, obj interface{}, ...) ([]byte, error) + func (cli *Client) POST(ctx context.Context, requestUrl string, query url.Values, obj interface{}, ...) ([]byte, error) + func (cli *Client) PUT(ctx context.Context, requestUrl string, query url.Values, obj interface{}, ...) ([]byte, error)