listener

package
v0.0.0-...-6c925ee Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitListener

func InitListener()

Types

type QuicListener

type QuicListener struct {
	// contains filtered or unexported fields
}

func (*QuicListener) Listen

func (l *QuicListener) Listen(ctx context.Context, connections chan<- connection.TlsConn) error

type QuicListenerFactory

type QuicListenerFactory struct{}

func (*QuicListenerFactory) New

func (t *QuicListenerFactory) New(local *url.URL, tlsConf *tls.Config) connection.GenericListener

type TcpListener

type TcpListener struct {
	// contains filtered or unexported fields
}

func (*TcpListener) Listen

func (t *TcpListener) Listen(ctx context.Context, connections chan<- connection.TlsConn) error

type TcpListenerFactory

type TcpListenerFactory struct{}

func (*TcpListenerFactory) New

func (t *TcpListenerFactory) New(local *url.URL, tlsConf *tls.Config) connection.GenericListener

Jump to

Keyboard shortcuts

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