Versions in this module Expand all Collapse all v1 v1.0.6 Apr 12, 2023 v1.0.5 Apr 4, 2023 v1.0.4 Apr 4, 2023 Changes in this version type Config + func CreateConfig() *Config v1.0.3 Apr 4, 2023 Changes in this version + const Connection + const ContentLength + const KeepAlive + const ProxyAuthenticate + const ProxyAuthorization + const Te + const Trailers + const TransferEncoding + const Upgrade + const XForwardedFor + const XForwardedHost + const XForwardedPort + const XForwardedProto + const XForwardedServer + const XRealIP + func CopyHeaders(dst http.Header, src http.Header) + func HeaderValuesContainsToken(values []string, token string) bool + func New(ctx context.Context, next http.Handler, config Config, name string) (http.Handler, error) + func RemoveHeaders(headers http.Header, names ...string) + func Remover(next http.Handler) http.HandlerFunc + type ClientTLS struct + CA string + Cert string + InsecureSkipVerify bool + Key string + func (c *ClientTLS) CreateTLSConfig(ctx context.Context) (*tls.Config, error) + type Config struct + Address string + AuthRequestHeaders []string + AuthResponseHeaders []string + AuthResponseHeadersRegex string + ShouldForwardBody bool + TLS *ClientTLS + TrustForwardHeader bool