package
5.0.0+incompatible
Repository: https://github.com/qwenode/tailscale.git
Documentation: pkg.go.dev

# Packages

Create two wgengine instances and pass data through them, measuring throughput, latency, and packet loss.
Package filter is a stateful packet filter.
Package magicsock implements a socket that can change its communication path while in use, actively searching for the best way to communicate.
Package monitor provides facilities for monitoring network interface and route changes.
Package netstack wires up gVisor's netstack into Tailscale.
Package router presents an interface to manipulate the host network stack's state.
Package wgcfg has types and a parser for representing WireGuard config.
Package wglog contains logging helpers for wireguard-go.

# Functions

IsNetstack reports whether e is a netstack-based TUN-free engine.
IsNetstackRouter reports whether e is either fully netstack based (without TUN) or is at least using netstack for routing.
No description provided by the author
NewUserspaceEngine creates the named tun device and returns a Tailscale Engine running on it.
NewWatchdog wraps an Engine and makes sure that all methods complete within a reasonable amount of time.

# Variables

No description provided by the author
ErrNoChanges is returned by Engine.Reconfig if no changes were made.
NetstackRouterType is a gross cross-package init-time registration from netstack to here, informing this package of netstack's router type.

# Structs

Config is the engine configuration.
PeerForIP is the type returned by Engine.PeerForIP.
Status is the Engine status.

# Interfaces

BIRDClient handles communication with the BIRD Internet Routing Daemon.
Engine is the Tailscale WireGuard engine interface.
InternalsGetter is implemented by Engines that can export their internals.
ResolvingEngine is implemented by Engines that have DNS resolvers.

# Type aliases

NetInfoCallback is the type used by Engine.SetNetInfoCallback.
NetworkMapCallback is the type used by callbacks that hook into network map updates.
StatusCallback is the type of status callbacks used by Engine.SetStatusCallback.