Versions in this module Expand all Collapse all v1 v1.0.2 Feb 20, 2026 Changes in this version type Handler + Deny []string + FallbackPolicy Policy + type Policy int + const PolicyIGNORE + const PolicyREJECT + const PolicyREQUIRE + const PolicySKIP + const PolicyUSE + func (x *Policy) UnmarshalText(text []byte) error + func (x Policy) MarshalText() ([]byte, error) v1.0.1 Sep 14, 2025 Changes in this version + func GetConn(cx *layer4.Connection) net.Conn + type Handler struct + Allow []string + Timeout caddy.Duration + func (*Handler) CaddyModule() caddy.ModuleInfo + func (h *Handler) Handle(cx *layer4.Connection, next layer4.Handler) error + func (h *Handler) Provision(ctx caddy.Context) error + func (h *Handler) UnmarshalCaddyfile(d *caddyfile.Dispenser) error + type MatchProxyProtocol struct + func (*MatchProxyProtocol) CaddyModule() caddy.ModuleInfo + func (m *MatchProxyProtocol) Match(cx *layer4.Connection) (bool, error) + func (m *MatchProxyProtocol) UnmarshalCaddyfile(d *caddyfile.Dispenser) error