Versions in this module Expand all Collapse all v0 v0.1.49 Jul 20, 2024 Changes in this version + type ClientConfig struct + MaxConnsPerHost int + Timeout time.Duration + func NewClientConfig() *ClientConfig + type HTTPClient struct + func NewHTTPClient(config *ClientConfig) *HTTPClient + func (c *HTTPClient) Get(url string) ([]byte, error) + func (c *HTTPClient) Post(ctx context.Context, url string, headers map[string]string, data any, ...) ([]byte, error) + func (c *HTTPClient) PostReturn(ctx context.Context, url string, headers map[string]string, input, output any, ...) error