summaryrefslogtreecommitdiff
path: root/internal/wireguard
diff options
context:
space:
mode:
authorJames O'Doherty <james@theodohertyfamily.com>2026-05-22 09:21:07 -0400
committerJames O'Doherty <james@theodohertyfamily.com>2026-05-22 09:21:07 -0400
commit4c01c88143635cf8b154c936fb0ac6546a509a85 (patch)
tree8d5099874f52c5f311905992b4b05a45666207b4 /internal/wireguard
parent96d75d9f1fab87365d7e6b5070eed3a5757c3484 (diff)
Implement platform compatibility stubs and update AGENTS.md
Diffstat (limited to 'internal/wireguard')
-rw-r--r--internal/wireguard/wireguard.go6
-rw-r--r--internal/wireguard/wireguard_stub.go5
2 files changed, 11 insertions, 0 deletions
diff --git a/internal/wireguard/wireguard.go b/internal/wireguard/wireguard.go
new file mode 100644
index 0000000..bd7124a
--- /dev/null
+++ b/internal/wireguard/wireguard.go
@@ -0,0 +1,6 @@
+//go:build linux
+
+package wireguard
+
+// The wireguard package manages the userspace WireGuard device
+// and its binding to the Linux TUN interface.
diff --git a/internal/wireguard/wireguard_stub.go b/internal/wireguard/wireguard_stub.go
new file mode 100644
index 0000000..a6b8dac
--- /dev/null
+++ b/internal/wireguard/wireguard_stub.go
@@ -0,0 +1,5 @@
+//go:build !linux
+
+package wireguard
+
+// The wireguard package provides stubs for non-Linux platforms.