Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Connectors = map[string]registry.NewConnector{ consts.Direct: direct.NewConnector, consts.Virtual: direct.NewConnector, consts.Forward: forward.NewConnector, consts.Http: http.NewConnector, consts.Http2: http2.NewConnector, consts.Relay: relay.NewConnector, consts.Serial: serial.NewConnector, consts.Sni: sni.NewConnector, consts.Socks4: v4.NewConnector, consts.Socks4a: v4.NewConnector, consts.Socks5: v5.NewConnector, consts.Socks: v5.NewConnector, consts.Ss: ss.NewConnector, consts.Ssu: ssu.NewConnector, consts.Sshd: sshd.NewConnector, consts.Tcp: tcp.NewConnector, consts.Tunnel: tunnel.NewConnector, consts.Unix: unix.NewConnector, }
View Source
var Dialers = map[string]registry.NewDialer{ consts.Direct: dialerDirect.NewDialer, consts.Virtual: dialerDirect.NewDialer, consts.Dtls: dtls.NewDialer, consts.Ftcp: ftcp.NewDialer, consts.Grpc: grpc.NewDialer, consts.Http2: dialerHttp2.NewDialer, consts.H2: h2.NewTLSDialer, consts.H2c: h2.NewDialer, consts.Http3: http3.NewDialer, consts.H3: http3.NewDialer, consts.Wt: wt.NewDialer, consts.Icmp: dialerIcmp.NewDialer, consts.Kcp: kcp.NewDialer, consts.Mtcp: mtcp.NewDialer, consts.Mtls: mtls.NewDialer, consts.Mws: mws.NewDialer, consts.Mwss: mws.NewTLSDialer, consts.Ohttp: dialerObfsHttp.NewDialer, consts.Otls: dialerObfsTls.NewDialer, consts.Pht: pht.NewDialer, consts.Phts: pht.NewTLSDialer, consts.Quic: dialerQuic.NewDialer, consts.Serial: dialerSerial.NewDialer, consts.Ssh: ssh.NewDialer, consts.Sshd: dialerSshd.NewDialer, consts.Tcp: dialerTcp.NewDialer, consts.Tls: dialerTls.NewDialer, consts.Udp: dialerUdp.NewDialer, consts.Unix: dialerUnix.NewDialer, consts.Wg: wg.NewDialer, consts.Ws: ws.NewDialer, consts.Wss: ws.NewTLSDialer, }
View Source
var Handlers = map[string]registry.NewHandler{ consts.Auto: auto.NewHandler, consts.Dns: dns.NewHandler, consts.File: file.NewHandler, consts.Tcp: local.NewHandler, consts.Udp: local.NewHandler, consts.Forward: local.NewHandler, consts.Rtcp: remote.NewHandler, consts.Rudp: remote.NewHandler, consts.Http: handlerHttp.NewHandler, consts.Http2: handlerHttp2.NewHandler, consts.Http3: handlerHttp3.NewHandler, consts.Metrics: metrics.NewHandler, consts.Red: redirect.NewHandler, consts.Redir: redirect.NewHandler, consts.Redirect: redirect.NewHandler, consts.Redu: redirectUdp.NewHandler, consts.Relay: handlerRelay.NewHandler, consts.Serial: handlerSerial.NewHandler, consts.Sni: handlerSni.NewHandler, consts.Socks4: handlerSocksV4.NewHandler, consts.Socks4a: handlerSocksV4.NewHandler, consts.Socks5: handlerSocksV5.NewHandler, consts.Socks: handlerSocksV5.NewHandler, consts.Ss: handlerSs.NewHandler, consts.Ssu: handlerSsUdp.NewHandler, consts.Sshd: handlerSshd.NewHandler, consts.Tap: tap.NewHandler, consts.Tun: tun.NewHandler, consts.Tunnel: tunnel.NewHandler, consts.Unix: unix.NewHandler, }
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 (*Boot) InitConnector ¶
func (*Boot) InitDialer ¶
func (*Boot) InitHandler ¶
func (*Boot) InitListener ¶
Click to show internal directories.
Click to hide internal directories.