agent

module
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
Command awg-agent-userspace is the agent built to drive interfaces through an in-process userspace WireGuard device (the amneziawg-go library) instead of the kernel module — for hosts without a (matching) AmneziaWG kernel module.
Command awg-agent-userspace is the agent built to drive interfaces through an in-process userspace WireGuard device (the amneziawg-go library) instead of the kernel module — for hosts without a (matching) AmneziaWG kernel module.
internal
agent
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.
api
kernel
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.
metrics
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.
userspace
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.
mux
fs

Jump to

Keyboard shortcuts

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