package
0.0.0-20230411075913-0e71d255c9c8
Repository: https://github.com/cyruslo/library.git
Documentation: pkg.go.dev

# Functions

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
Protocol.
No description provided by the author

# Structs

Header is the placeholder for proxy protocol header.
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.