# README
tcpproxy
For library usage, see https://godoc.org/inet.af/tcpproxy/
For CLI usage, see https://github.com/inetaf/tcpproxy/blob/master/cmd/tlsrouter/README.md
# Functions
To is a shorthand way of writing &tcpproxy.DialProxy{Addr: addr}.
UnderlyingConn returns c.Conn if c of type *Conn, otherwise it returns c.
# Structs
Conn is an incoming connection that has had some bytes read from it to determine how to route the connection.
DialProxy implements Target by dialing a new connection to Addr and then proxying data back and forth.
Proxy is a proxy.
TargetListener implements both net.Listener and Target.
# Interfaces
Target is what an incoming matched connection is sent to.
# Type aliases
Matcher reports whether hostname matches the Matcher's criteria.
No description provided by the author
SNITargetFunc is the func callback used by Proxy.AddSNIRouteFunc.