Documentation ¶
Overview ¶
Package listener handles TLS ALPN routing magic.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Listener ¶
type Listener struct {
// contains filtered or unexported fields
}
Listener that sources connections from all given backends, and routes TLS connection to wallhack and the plugin according to the ALPN field of the client.
func New ¶
New creates a new listener that sources connections from all given backends, and routes TLS connection to wallhack and the plugin according to the ALPN field of the client.
func (*Listener) Listen ¶
Listen returns a rungroup compatible method that listens on the configured backends an shoves connections into wallhack and plugin.
func (*Listener) PluginListener ¶
PluginListener returns the frontend listener for the configured plugin.
func (*Listener) WallhackListener ¶
WallhackListener returns the frontend listener for wallhack.