Versions in this module Expand all Collapse all v1 v1.8.2 Nov 4, 2017 Changes in this version + func NewBasicAuthRoundTripper(username, password string, rt http.RoundTripper) http.RoundTripper + func NewBearerAuthRoundTripper(bearer string, rt http.RoundTripper) http.RoundTripper + func NewClient(rt http.RoundTripper) *http.Client + func NewClientFromConfig(cfg config.HTTPClientConfig) (*http.Client, error) + func NewClientFromConfigAndOptions(cfg config.HTTPClientConfig, disableKeepAlives bool) (*http.Client, error) + func NewTLSConfig(cfg config.TLSConfig) (*tls.Config, error) + type CompressionHandler struct + Handler http.Handler + func (c CompressionHandler) ServeHTTP(writer http.ResponseWriter, req *http.Request)