{"modulePath":"github.com/cloudfoundry/gorouter","version":"v0.0.0-20250429140807-a602bb6a6243","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package proxy\n\n## Functions\n\n```go\nfunc ForceDeleteXFCCHeader(routeServiceValidator RouteServiceValidator, forwardedClientCert string, logger *slog.Logger) func(*http.Request) (bool, error)\n```\n\n```go\nfunc NewBufferPool() httputil.BufferPool\n```\n\n```go\nfunc NewProxy(\n\tlogger *slog.Logger,\n\taccessLogger accesslog.AccessLogger,\n\terrorWriter errorwriter.ErrorWriter,\n\tcfg *config.Config,\n\tregistry registry.Registry,\n\treporter metrics.MetricReporter,\n\trouteServiceConfig *routeservice.RouteServiceConfig,\n\tbackendTLSConfig *tls.Config,\n\trouteServiceTLSConfig *tls.Config,\n\thealth *health.Health,\n\trouteServicesTransport http.RoundTripper,\n) http.Handler\n```\n\n```go\nfunc SkipSanitize(routeServiceValidator RouteServiceValidator) func(*http.Request) bool\n```\n\n```go\nfunc SkipSanitizeXFP(routeServiceValidator RouteServiceValidator) func(*http.Request) bool\n```\n\n## Types\n\n```go\ntype RouteServiceValidator interface {\n\tArrivedViaRouteService(req *http.Request, logger *slog.Logger) (bool, error)\n\tIsRouteServiceTraffic(req *http.Request) bool\n}\n```\n\n","path":"github.com/cloudfoundry/gorouter/proxy","name":"proxy","synopsis":"","isRedistributable":true}
