Versions in this module Expand all Collapse all v0 v0.0.2 Nov 13, 2022 Changes in this version + func CopyHeader(dst http.Header, src http.Header) + func CtxWithHeader(ctx context.Context, header http.Header) context.Context + func HeaderFromCtx(ctx context.Context) http.Header + func NewRoundTripper(cfg *TransportOptions) (http.RoundTripper, error) + type Client struct + Header http.Header + func NewClient(rt http.RoundTripper) *Client + func (c *Client) Do(req *http.Request) ([]byte, error) + type TransportOptions struct + DialTimeout time.Duration + DisableHTTP2 bool + IdleConnTimeout time.Duration + InsecureSkipVerify bool + MaxIdleConnsPerHost int + PingTimeout time.Duration + ReadIdleTimeout time.Duration + ResponseHeaderTimeout time.Duration