Versions in this module Expand all Collapse all v0 v0.8.2 Mar 6, 2025 Changes in this version + const HTTPStatusErrorBodyMaxLength + func Get(ctx context.Context, c *http.Client, url string) (*http.Response, error) + func Head(ctx context.Context, c *http.Client, url string) (*http.Response, error) + func NewHTTPClientWithDialFn(dialFn func(ctx context.Context) (net.Conn, error)) (*http.Client, error) + func NewHTTPClientWithSocketPath(socketPath string) (*http.Client, error) + func Post(ctx context.Context, c *http.Client, url string, body io.Reader) (*http.Response, error) + func Successful(resp *http.Response) error + type HTTPStatusError struct + Body string + StatusCode int + func (e *HTTPStatusError) Error() string