Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAllowedNetwork ¶ added in v0.14.27
IsAllowedNetwork returns true if the given host (IP or resolvable hostname) is in the set of allowed networks (CIDR format only).
Types ¶
type Connection ¶ added in v0.13.0
type Connection interface { protocol.Connection Type() string Transport() string RemoteAddr() net.Addr Priority() int String() string Crypto() string }
Connection is what we expose to the outside. It is a protocol.Connection that can be closed and has some metadata.
Click to show internal directories.
Click to hide internal directories.