Versions in this module Expand all Collapse all v0 v0.2.0 Dec 29, 2018 Changes in this version + func ProxyRootHandler(client *http.Client, targetURL, selfURL *url.URL, logger *log.Logger) func(w http.ResponseWriter, r *http.Request) v0.1.0 Oct 14, 2018 Changes in this version + func CheckError(logger *log.Logger, w http.ResponseWriter, err error) bool + func CopyRequestHeaders(from, to *http.Request, headers []string) + func DefaultHTTPClient(certPool *x509.CertPool, timeout time.Duration, ...) *http.Client + func Mux(client *http.Client, targetURL *url.URL, selfURL *url.URL, logger *log.Logger) *http.ServeMux + func NewCertPool(pemCerts ...string) (certPool *x509.CertPool, failedCerts []string, sysCertPoolErr error) + func NoRedirCheckRedirectFunc(*http.Request, []*http.Request) error + func RewriteURL(origURL, targetHost string, selfURL *url.URL) string