Documentation
¶
Overview ¶
Command eos is a lightweight service supervisor for VPS environments. It manages background services using a self-contained Go binary with no Node.js runtime required. State is persisted in a local SQLite database, and a background daemon handles health monitoring and automatic restarts.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package cmd implements the eos CLI commands for registering, starting, stopping, and monitoring background services on a VPS.
|
Package cmd implements the eos CLI commands for registering, starting, stopping, and monitoring background services on a VPS. |
|
helpers
Package helpers provides CLI utility functions for output formatting, JSON rendering, and shell completions.
|
Package helpers provides CLI utility functions for output formatting, JSON rendering, and shell completions. |
|
internal
|
|
|
buildinfo
Package buildinfo exposes version, commit, and build date metadata injected at link time.
|
Package buildinfo exposes version, commit, and build date metadata injected at link time. |
|
config
Package config loads and validates eos service configuration from YAML files.
|
Package config loads and validates eos service configuration from YAML files. |
|
database
Package database manages the SQLite connection, schema migrations, and query helpers for eos state persistence.
|
Package database manages the SQLite connection, schema migrations, and query helpers for eos state persistence. |
|
logutil
Package logutil provides structured logger constructors for daemon and local (stderr) logging.
|
Package logutil provides structured logger constructors for daemon and local (stderr) logging. |
|
manager
Package manager orchestrates daemon lifecycle operations: start, stop, restart, and status queries.
|
Package manager orchestrates daemon lifecycle operations: start, stop, restart, and status queries. |
|
monitor
Package monitor implements health checking and automatic restart logic for managed daemons.
|
Package monitor implements health checking and automatic restart logic for managed daemons. |
|
process
Package process handles OS-level process spawning, signal delivery, and stdin/stdout piping for daemons.
|
Package process handles OS-level process spawning, signal delivery, and stdin/stdout piping for daemons. |
|
testutil
Package testutil provides shared test helpers for database setup and fixture loading.
|
Package testutil provides shared test helpers for database setup and fixture loading. |
|
types
Package types defines shared data structures and interfaces used across eos packages.
|
Package types defines shared data structures and interfaces used across eos packages. |
|
ui
Package ui defines terminal color palette and lipgloss styles for eos CLI output.
|
Package ui defines terminal color palette and lipgloss styles for eos CLI output. |
|
userutil
Package userutil provides helpers for resolving the effective OS user, accounting for sudo invocations.
|
Package userutil provides helpers for resolving the effective OS user, accounting for sudo invocations. |
Click to show internal directories.
Click to hide internal directories.
