Versions in this module Expand all Collapse all v0 v0.2.0 Nov 19, 2025 Changes in this version + const DefaultTimeout + const MaxResponseSize + const UserAgent + func NewHTTPError(statusCode int, url, message string) error + type Client interface + Get func(ctx context.Context, url string) ([]byte, error) + func NewDefaultClient(timeout time.Duration) Client + type DefaultClient struct + func (c *DefaultClient) Get(ctx context.Context, url string) ([]byte, error) + type HTTPError struct + Message string + StatusCode int + URL string + func (e *HTTPError) Error() string