Add directory skeleton and CLI entry point with Cobra
- Create internal/{app,config,engine,divert,socks5,bypass,checker,service,tray,procscan,updater} with placeholder doc.go per package.
- Add .gitkeep stubs for internal/frontend, third_party/{windivert,icons}, installer/, .forgejo/workflows/, docs/.
- Implement cmd/drover/main.go: Cobra root with Version/Commit/BuildDate ldflags, --config global flag, and stub subcommands (check, update --check-only, service install/uninstall/start/stop).
- Add github.com/spf13/cobra v1.10.2 dependency.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
// Package app wires the Wails application (Go ↔ JS bindings).
|
||||
package app
|
||||
@@ -0,0 +1,2 @@
|
||||
// Package bypass implements DPI bypass via fake QUIC injection.
|
||||
package bypass
|
||||
@@ -0,0 +1,2 @@
|
||||
// Package checker runs the 7-step proxy diagnostic.
|
||||
package checker
|
||||
@@ -0,0 +1,2 @@
|
||||
// Package config loads and validates the TOML configuration.
|
||||
package config
|
||||
@@ -0,0 +1,2 @@
|
||||
// Package divert wraps WinDivert for kernel-level packet capture.
|
||||
package divert
|
||||
@@ -0,0 +1,2 @@
|
||||
// Package engine orchestrates the packet processing pipeline.
|
||||
package engine
|
||||
@@ -0,0 +1,2 @@
|
||||
// Package procscan resolves process IDs via Toolhelp32.
|
||||
package procscan
|
||||
@@ -0,0 +1,2 @@
|
||||
// Package service installs the Windows service and exposes the IPC named pipe.
|
||||
package service
|
||||
@@ -0,0 +1,2 @@
|
||||
// Package socks5 implements a SOCKS5 client (CONNECT + UDP ASSOCIATE, RFC 1928 + 1929).
|
||||
package socks5
|
||||
@@ -0,0 +1,2 @@
|
||||
// Package tray manages the system tray icon.
|
||||
package tray
|
||||
@@ -0,0 +1,2 @@
|
||||
// Package updater performs self-update via the Forgejo Releases API.
|
||||
package updater
|
||||
Reference in New Issue
Block a user