summaryrefslogtreecommitdiff
path: root/internal/config
diff options
context:
space:
mode:
authorJames O'Doherty <james@theodohertyfamily.com>2026-06-04 22:38:44 -0400
committerJames O'Doherty <james@theodohertyfamily.com>2026-06-04 22:38:44 -0400
commit66b782e261f1cd928ad6a8482788a65fb484db45 (patch)
tree38b6c46200d9c4464affc1c0c43494a5555acf33 /internal/config
parentc53503b52b6fc6de37b6053719521054003fa50b (diff)
refactor: simplify architecture and improve documentation
- Extract orchestration logic from `internal/cli` into a new `internal/manager` package for better composability. - Migrate technical implementation details from README.md to package-level godoc strings. - Rewrite README.md to be more user-centric, focusing on quick start and usage. - Add comprehensive documentation for exported structs and fields across the project. - Verify all changes with `go fmt`, `go vet`, `golangci-lint`, and full E2E test suite.
Diffstat (limited to 'internal/config')
-rw-r--r--internal/config/config.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/internal/config/config.go b/internal/config/config.go
index 5aa8462..d83c59d 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -1,7 +1,11 @@
package config
+// Config holds the application-level configuration for a single execution run.
type Config struct {
- Profile string
+ // Profile is the name of the WireGuard profile to use.
+ Profile string
+ // DNSServer is an optional override for the DNS server.
DNSServer string
- Command []string
+ // Command is the actual command and arguments to be executed within the namespace.
+ Command []string
}