Versions in this module Expand all Collapse all v1 v1.8.1 Mar 13, 2026 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)