Documentation
¶
Overview ¶
Package haproxy implements the handshake for the HAProxy client protocol version 1, as described in https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handshake ¶
Handshake performs the HAProxy protocol v1 handshake on the given reader, which is expected to be backed by a network connection. It returns the source and destination addresses, or an error if the handshake could not complete. Note that any timeouts or limits must be set by the caller on the underlying connection, this is helper only to perform the handshake.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.