Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func IsProxyProtocolError ¶
func NewListener ¶
func NewListener(listener net.Listener, allowedIPs string, headerReadTimeout int) (net.Listener, error)
Create new PROXY protocol listener * listener is basic listener for TCP * allowedIPs is protocol allowed addresses or CIDRs split by `,` if use '*' means allow any address * headerReadTimeout is timeout for PROXY protocol header read
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.