Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{ Enabled: false, Routes: []Route{}, }
DefaultConfig is the default configuration for Lite mode.
Functions ¶
This section is empty.
Types ¶
type Route ¶
type Route struct { Host configutil.SingleOrMulti[string] Backend configutil.SingleOrMulti[string] CachePingTTL time.Duration // 0 = default, < 0 = disabled ProxyProtocol bool RealIP bool }
func (*Route) CachePingEnabled ¶ added in v0.26.0
func (*Route) GetCachePingTTL ¶ added in v0.26.0
Click to show internal directories.
Click to hide internal directories.