package
3.2.17+incompatible
Repository: https://github.com/geoinstinct-web/teleport.git
Documentation: pkg.go.dev
# Functions
New returns a new instance of multiplexer.
ReadProxyLine reads proxy line protocol from the reader.
# Constants
ProtoProxy is a HAProxy proxy line protocol.
ProtoSSH is SSH protocol.
ProtoTLS is TLS protocol.
ProtoUnknown is for unknown protocol.
TCP4 is TCP over IPv4.
TCP6 is tCP over IPv6.
Unknown is unsupported or unknown protocol.
# Structs
Config is a multiplexer config.
Conn is a connection wrapper that supports communicating remote address from proxy protocol and replays first several bytes read during protocol detection.
Listener is a listener that receives connections from multiplexer based on the connection type.
Mux supports having both SSH and TLS on the same listener socket.
ProxyLine is HA Proxy protocol version 1 https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt Original implementation here: https://github.com/racker/go-proxy-protocol.