Versions in this module Expand all Collapse all v0 v0.2.0 Oct 24, 2023 Changes in this version + type Matcher func(r *http.Request) bool + type Modifier func(r *http.Request) type Rule + Matcher Matcher + Modifier Modifier + func Group(parent Rule, children ...Rule) Rule type Selector + func (s *Selector) Modify(m Modifier) v0.1.0 Aug 21, 2023 Changes in this version + func New(selectors ...*Selector) *httputil.ReverseProxy + type Rule func(in *http.Request, out *http.Request) bool + func AllOf(rules ...Rule) Rule + func Always() Rule + func AnyOf(rules ...Rule) Rule + func HasHeader(header string) Rule + func HasQueryParam(param string) Rule + func HeaderContains(header string, value string) Rule + func HostMatches(host string) Rule + func HostPathIsAt(hostpath string) Rule + func IPMatches(clientIP string) Rule + func MethodMatches(method string) Rule + func PathIsAt(path string) Rule + func QueryParamContains(param string, value string) Rule + type SelectOption func(*Selector) + func WithOIDC() SelectOption + type Selector struct + func Select(address string, when Rule, opts ...SelectOption) *Selector