# Packages
No description provided by the author
# Functions
BytesSize returns a human-readable size in bytes, kibibytes, mebibytes, gibibytes, or tebibytes (eg.
Copy starts two goroutines.
CustomSize returns a human-readable approximation of a size using custom format.
ErrIsNetClosed returns true if err is an error returned when using a closed network connection.
No description provided by the author
GetInfo returns server information from context.
ListenDTLS implements listener for dtls.
No description provided by the author
No description provided by the author
RAMInBytes parses a human-readable string representing an amount of RAM in bytes, kibibytes, mebibytes, gibibytes, or tebibytes and returns the number of bytes, or -1 if the string is unparseable.
To is shorthand way of writing &tlsproxy.DialProxy{Addr: addr}.
UnderlyingConn returns c.Conn if c of type *Conn, otherwise it returns c.
UpdateContext applies fn to the Meta that is in ctx and returns a new context if ctx doesn't have Meta yet.
# Constants
BufferSize this is the size of data that is read/written by default.
See: http://en.wikipedia.org/wiki/Binary_prefix.
No description provided by the author
No description provided by the author
No description provided by the author
Binary.
See: http://en.wikipedia.org/wiki/Binary_prefix.
See: http://en.wikipedia.org/wiki/Binary_prefix.
No description provided by the author
See: http://en.wikipedia.org/wiki/Binary_prefix.
No description provided by the author
No description provided by the author
# Variables
ErrPortNotAllowed is returned when opening non whitelisted port.
# Structs
No description provided by the author
Address data for connection address.
Conn is an incoming connection that has had some bytes read from it to determine how to route the connection.
Context holds information about an a tcp request/response.
Meta a lot of details that is passed around with the connection.
DialProxy implements Target by dialing a new connection to Addr and then proxying data back and forth.
No description provided by the author
No description provided by the author
No description provided by the author
Proxy is a proxy.
No description provided by the author
No description provided by the author
No description provided by the author
ServerInfo general information about the server.
No description provided by the author
TargetListener implements both net.Listener and Target.
TCP stats about a tcp socket connection.
No description provided by the author
No description provided by the author
# Interfaces
Target is what an incoming matched connection is sent to.