internal/

directory
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2026 License: Apache-2.0

Directories

Path Synopsis
Package agent holds the awg-agent daemon's startup/run logic, shared by every agent binary regardless of which service.Backend it drives.
Package agent holds the awg-agent daemon's startup/run logic, shared by every agent binary regardless of which service.Backend it drives.
Package kernel is the service.Backend that drives interfaces through the AmneziaWG (or plain WireGuard) kernel module over netlink — RTM_NEWLINK to create the link, address/MTU/up on it, RTM_DELLINK to remove it.
Package kernel is the service.Backend that drives interfaces through the AmneziaWG (or plain WireGuard) kernel module over netlink — RTM_NEWLINK to create the link, address/MTU/up on it, RTM_DELLINK to remove it.
Package metrics periodically samples host (CPU/RAM/load/network) and WireGuard peer (rx/tx/last handshake) stats and keeps the last 48h of them in an in-process ring buffer per metric (see store.go) — no external TSDB.
Package metrics periodically samples host (CPU/RAM/load/network) and WireGuard peer (rx/tx/last handshake) stats and keeps the last 48h of them in an in-process ring buffer per metric (see store.go) — no external TSDB.
Package userspace provides a service.Backend that runs each interface as an in-process userspace WireGuard device using the amneziawg-go library — for hosts without a (matching) AmneziaWG kernel module.
Package userspace provides a service.Backend that runs each interface as an in-process userspace WireGuard device using the amneziawg-go library — for hosts without a (matching) AmneziaWG kernel module.

Jump to

Keyboard shortcuts

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