package
3.4.0+incompatible
Repository: https://github.com/jigsaw-code/outline-go-tun2socks.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

NewTCPHandler returns a TCP forwarder with Intra-style behavior.
NewTunnel creates a connected Intra session.
NewUDPHandler makes a UDP handler with Intra-style DNS redirection: All packets are routed directly to their destination, except packets whose destination is `fakedns`.

# Structs

TCPSocketSummary provides information about each TCP socket, reported when it is closed.
UDPSocketSummary describes a non-DNS UDP association, reported when it is discarded.

# Interfaces

Listener receives usage statistics when a UDP or TCP socket is closed, or a DNS query is completed.
TCPHandler is a core TCP handler that also supports DOH and splitting control.
TCPListener is notified when a socket closes.
Tunnel represents an Intra session.
UDPHandler adds DOH support to the base UDPConnHandler interface.
UDPListener is notified when a non-DNS UDP association is discarded.