Documentation
¶
Index ¶
- Constants
- Variables
- func CopyHeader(dst http.Header, src http.Header)
- func CtxWithHeader(ctx context.Context, header http.Header) context.Context
- func HeaderCtxValue(ctx context.Context) http.Header
- func NewRoundTripper(cfg *TransportOptions) (http.RoundTripper, error)
- type Client
- type TransportOptions
Constants ¶
View Source
const (
MaxContentLength int64 = 1024 * 1024 * 10
)
Variables ¶
View Source
var DefaultTransport http.RoundTripper
Functions ¶
func NewRoundTripper ¶
func NewRoundTripper(cfg *TransportOptions) (http.RoundTripper, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.