Versions in this module Expand all Collapse all v1 v1.2.1 Apr 24, 2024 v1.2.0 Apr 24, 2024 Changes in this version + const ContentType + const ETag + func DrainBody(respBody io.ReadCloser) + type Client struct + Client *http.Client + func (c *Client) Do(req *http.Request) (*http.Response, error) + func (c *Client) Get(url string) (resp *http.Response, err error) + func (c *Client) Post(url, contentType string, body io.Reader) (resp *http.Response, err error) + type ClientI interface + Do func(req *http.Request) (*http.Response, error) + Get func(url string) (resp *http.Response, err error) + Post func(url, contentType string, body io.Reader) (resp *http.Response, err error)