Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHttpClient ¶
func NewHttpClient( tlsConfig *tls.Config, opts ...RoundTripperOptions, ) *http.Client
Types ¶
type RoundTripperConfig ¶
type RoundTripperConfig spdy.RoundTripperConfig
type RoundTripperOptions ¶
type RoundTripperOptions func(http.RoundTripper) http.RoundTripper
func WithBearerAuth ¶
func WithBearerAuth(token string) RoundTripperOptions
func WithHeaders ¶
func WithHeaders(key, value string, values ...string) RoundTripperOptions
Click to show internal directories.
Click to hide internal directories.