# Functions
NewChain creates a new TCP chain, memorizing the given list of TCP middleware constructors.
NewProxy creates a new Proxy.
NewWRRLoadBalancer creates a new WRRLoadBalancer.
# Structs
Chain is a chain for TCP handlers.
Conn is a connection proxy that handles Peeked bytes.
HandlerSwitcher is a TCP handler switcher.
Proxy forwards a TCP request to a TCP service.
Router is a TCP router.
TLSHandler handles TLS connections.
WRRLoadBalancer is a naive RoundRobin load balancer for TCP services.
# Interfaces
Handler is the TCP Handlers interface.
WriteCloser describes a net.Conn with a CloseWrite method.
# Type aliases
Constructor A constructor for a piece of TCP middleware.
The HandlerFunc type is an adapter to allow the use of ordinary functions as handlers.