internal/

directory
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: MIT

Directories

Path Synopsis
Package client implements the shadowgate client.
Package client implements the shadowgate client.
Package compress wraps a stream connection with Snappy compression.
Package compress wraps a stream connection with Snappy compression.
Package core holds the transport-agnostic heart of a shadowgate server: the tun device and the routing table that maps a tunnel address to the transport peer that owns it.
Package core holds the transport-agnostic heart of a shadowgate server: the tun device and the routing table that maps a tunnel address to the transport peer that owns it.
Package deferutil holds small helpers meant to be deferred at the top of a function or goroutine.
Package deferutil holds small helpers meant to be deferred at the top of a function or goroutine.
Package e2e exercises the full client/server stack over real loopback sockets using an in-memory tun device.
Package e2e exercises the full client/server stack over real loopback sockets using an in-memory tun device.
Package ipv4 provides a thin, allocation-free view over raw IPv4 packets.
Package ipv4 provides a thin, allocation-free view over raw IPv4 packets.
Package obfuscate implements shadowgate's headerless, fully-encrypted UDP packet format.
Package obfuscate implements shadowgate's headerless, fully-encrypted UDP packet format.
Package secure provides an authenticated, encrypted record layer for a stream connection (the TCP transport).
Package secure provides an authenticated, encrypted record layer for a stream connection (the TCP transport).
Package server orchestrates a shadowgate server: it owns the shared router (tun device + routing table) and starts the enabled transports (TCP, UDP, or both), which all route through that single router so clients on different transports can reach each other.
Package server orchestrates a shadowgate server: it owns the shared router (tun device + routing table) and starts the enabled transports (TCP, UDP, or both), which all route through that single router so clients on different transports can reach each other.
Package tun opens and manages a Linux TUN network interface.
Package tun opens and manages a Linux TUN network interface.
Package tuntest provides an in-memory tun.TUN implementation for tests.
Package tuntest provides an in-memory tun.TUN implementation for tests.

Jump to

Keyboard shortcuts

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