package
2.0.3
Repository: https://github.com/webnice/web.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewConn is used to wrap a net.Conn that may be speaking the proxy protocol into a proxyproto.Conn.
Read identifies the proxy protocol version and reads the remaining of the header, accordingly.
ReadTimeout acts as Read but takes a timeout.
SplitTLVs splits the Type-Length-Value vector, returns the vector or an error.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Section 2.2.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Section 2.2.7, reserved types.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Conn is used to wrap and underlying connection which may be speaking the Proxy Protocol.
Header is the placeholder for proxy protocol header.
Listener is used to wrap an underlying listener, whose connections may be using the HAProxy Proxy Protocol.
TLV is a uninterpreted Type-Length-Value for V2 protocol, see section 2.2.

# Type aliases

AddressFamilyAndProtocol represents address family and transport protocol.
PP2Type is the proxy protocol v2 type.
ProtocolVersionAndCommand represents proxy protocol version and command.