Versions in this module Expand all Collapse all v0 v0.0.1 Jan 31, 2023 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)