listeners

package
v0.0.0-...-82e0d81 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2023 License: LGPL-3.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleNewConnection

func HandleNewConnection(listener *ProxyListener, client net.Conn)

Types

type ProxyConnection

type ProxyConnection struct {
	ID uint64
	// contains filtered or unexported fields
}

type ProxyListener

type ProxyListener struct {
	ID                       uint64
	FallbackProtocol         *string
	ListenerAddress          utils.AddressURL
	Tls                      *tls.Config
	ProtocolHosts            map[string]utils.AddressURL
	ProtocolDiscoveryTimeout time.Duration
	// contains filtered or unexported fields
}

func (*ProxyListener) Start

func (p *ProxyListener) Start()

type ProxyListenerConfig

type ProxyListenerConfig struct {
	Listeners []ProxyListener
	// contains filtered or unexported fields
}

func (*ProxyListenerConfig) Start

func (c *ProxyListenerConfig) Start()

type ProxyTlsConfig

type ProxyTlsConfig struct {
	Host        string
	Certificate string
	PrivateKey  string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL