Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
vigil-sidecar
command
Vigil sidecar — long-running Go process spawned by the Tauri shell.
|
Vigil sidecar — long-running Go process spawned by the Tauri shell. |
|
Package db wires the Ent client to SQLite under the user's app data dir.
|
Package db wires the Ent client to SQLite under the user's app data dir. |
|
ent
Package ent hosts the go:generate trampoline for Ent codegen.
|
Package ent hosts the go:generate trampoline for Ent codegen. |
|
ent/schema
Package schema contains the ent schema definitions.
|
Package schema contains the ent schema definitions. |
|
internal
|
|
|
aggregator
Package aggregator builds 1-min, 5-min, and 1-hour rollup buckets from raw probe samples.
|
Package aggregator builds 1-min, 5-min, and 1-hour rollup buckets from raw probe samples. |
|
app
Package app is the Vigil sidecar entry point.
|
Package app is the Vigil sidecar entry point. |
|
constants
Package constants holds time math, config defaults, and statistical thresholds.
|
Package constants holds time math, config defaults, and statistical thresholds. |
|
ipc
Package ipc implements the stdio JSON-RPC protocol between the Tauri shell and the sidecar.
|
Package ipc implements the stdio JSON-RPC protocol between the Tauri shell and the sidecar. |
|
monitor
Package monitor owns the probe loop and flusher.
|
Package monitor owns the probe loop and flusher. |
|
netinfo
Package netinfo wraps OS-specific network introspection (default gateway, Wi-Fi state) behind a small cross-platform interface.
|
Package netinfo wraps OS-specific network introspection (default gateway, Wi-Fi state) behind a small cross-platform interface. |
|
outages
Package outages detects reachability gaps live as probe results stream in and persists them as Outage rows.
|
Package outages detects reachability gaps live as probe results stream in and persists them as Outage rows. |
|
probes
Package probes contains the four probe implementations Vigil uses to test network reachability.
|
Package probes contains the four probe implementations Vigil uses to test network reachability. |
|
reports
Package reports renders shareable artifacts (CSV / JSON / HTML) from raw probe samples.
|
Package reports renders shareable artifacts (CSV / JSON / HTML) from raw probe samples. |
|
retention
Package retention prunes old samples and aggregations hourly.
|
Package retention prunes old samples and aggregations hourly. |
|
runloop
Package runloop provides the loop-with-ticker scaffolding shared by Vigil's periodic goroutines.
|
Package runloop provides the loop-with-ticker scaffolding shared by Vigil's periodic goroutines. |
|
stats
Package stats provides pure analysis functions used by the aggregator and report generator.
|
Package stats provides pure analysis functions used by the aggregator and report generator. |
|
storage
Package storage is the persistence layer above Ent.
|
Package storage is the persistence layer above Ent. |
|
pkg
|
|
|
buildinfo
Package buildinfo exposes version, git commit, and build timestamp.
|
Package buildinfo exposes version, git commit, and build timestamp. |
|
errors
Package errors is a drop-in replacement for the stdlib errors package that carries slog-style structured attributes alongside each error.
|
Package errors is a drop-in replacement for the stdlib errors package that carries slog-style structured attributes alongside each error. |
|
log
Package log configures the zerolog global logger.
|
Package log configures the zerolog global logger. |
Click to show internal directories.
Click to hide internal directories.


