Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GatewayConfig ¶
type GatewayConfig struct { ProtectedSitesConfig []ProtectedSiteConfig SessionID string `yaml:"sessionID"` Endpoints Endpoints `yaml:"endpoints"` }
func GetConfig ¶
func GetConfig() GatewayConfig
type ProtectedPathConfig ¶
type ProtectedPathConfig struct { URLPattern string PolicyValidator policy.PolicyValidator AuthURL string }
type ProtectedSiteConfig ¶
type ProtectedSiteConfig struct { RequestHost string TargetHost string ProtectedPathsConfig []ProtectedPathConfig Proxy *httputil.ReverseProxy }
Click to show internal directories.
Click to hide internal directories.