boot

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MIT Imports: 100 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Listeners = map[string]registry.NewListener{
	consts.Dns:      listenerDns.NewListener,
	consts.Dtls:     listenerDtls.NewListener,
	consts.Ftcp:     listenerFtcp.NewListener,
	consts.Grpc:     listenerGrpc.NewListener,
	consts.Http2:    listenerHttp2.NewListener,
	consts.H2c:      listenerHttpH2.NewListener,
	consts.H2:       listenerHttpH2.NewTLSListener,
	consts.Http3:    listenerHttp3.NewListener,
	consts.H3:       listenerHttpH3.NewListener,
	consts.Wt:       listenerHttpWt.NewListener,
	consts.Icmp:     listenerIcmp.NewListener,
	consts.Kcp:      listenerKcp.NewListener,
	consts.Mtcp:     listenerMtcp.NewListener,
	consts.Mtls:     listenerMtls.NewListener,
	consts.Mws:      listenerMws.NewListener,
	consts.Mwss:     listenerMws.NewTLSListener,
	consts.Ohttp:    listenerObfsHttp.NewListener,
	consts.Otls:     listenerObfsTls.NewListener,
	consts.Pht:      listenerPht.NewListener,
	consts.Phts:     listenerPht.NewTLSListener,
	consts.Quic:     listenerQuic.NewListener,
	consts.Red:      listenerRedirectTcp.NewListener,
	consts.Redir:    listenerRedirectTcp.NewListener,
	consts.Redirect: listenerRedirectTcp.NewListener,
	consts.Redu:     listenerRedirectUdp.NewListener,
	consts.Rtcp:     listenerRtcp.NewListener,
	consts.Rudp:     listenerRudp.NewListener,
	consts.Serial:   listenerSerial.NewListener,
	consts.Ssh:      listenerSsh.NewListener,
	consts.Sshd:     listenerSshd.NewListener,
	consts.Tap:      listenerTap.NewListener,
	consts.Tcp:      listenerTcp.NewListener,
	consts.Tls:      listenerTls.NewListener,
	consts.Tun:      listenerTun.NewListener,
	consts.Udp:      listenerUdp.NewListener,
	consts.Unix:     listenerUnix.NewListener,
	consts.Ws:       listenerWs.NewListener,
	consts.Wss:      listenerWs.NewTLSListener,
}

Functions

This section is empty.

Types

type Boot

type Boot struct {
	App        app.IRuntime
	Connectors map[string]registry.NewConnector
	Dialers    map[string]registry.NewDialer
	Handlers   map[string]registry.NewHandler
	Listeners  map[string]registry.NewListener
}

func Boots

func Boots(a app.IRuntime) *Boot

func (*Boot) InitConnector

func (b *Boot) InitConnector() (err error)

func (*Boot) InitDialer

func (b *Boot) InitDialer() (err error)

func (*Boot) InitHandler

func (b *Boot) InitHandler() (err error)

func (*Boot) InitListener

func (b *Boot) InitListener() (err error)

Jump to

Keyboard shortcuts

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