Versions in this module Expand all Collapse all v0 v0.5.0 Dec 1, 2023 Changes in this version type ReverseFroxy + HostPathTarget map[string]map[string]*ProxyTarget + On bool + Sec bool v0.4.0 Nov 26, 2023 Changes in this version + func HeaderValuesContainsToken(values []string, token string) bool + type HostProxyMap map[string]*pathmatch.Matcher[*ProxyTarget] + func (hpm HostProxyMap) MatchHost(host string) (matcher *pathmatch.Matcher[*ProxyTarget], ok bool) + type ProxyTarget struct + Cnt int + Len int + Targets []*url.URL + func (pt *ProxyTarget) NextTargetURL(path string) (targetURL *url.URL) + type ReverseFroxy struct + HostProxyMap HostProxyMap + func ConfigReverseProxy(rpsm map[string]map[string][]string) (*ReverseFroxy, error) + func (rf *ReverseFroxy) ServeHTTP(w http.ResponseWriter, req *http.Request)