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 Load ¶
func Load(file string, config *protocols.ProxyProtocolConfig) (*ProxyListenerConfig, error)
func (*ProxyListenerConfig) Start ¶
func (c *ProxyListenerConfig) Start()
type ProxyTlsConfig ¶
Click to show internal directories.
Click to hide internal directories.