package
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Nov 11, 2026
License: AGPL-3.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package platform (piece ⑮) holds process-level concerns: data directory,
logging and supervision of long-running services.
DefaultDataDir returns the per-OS default data directory.
NewLogger returns a logger: coloured text on a terminal, JSON when
format is "json". Secrets are redacted in one place.
Run supervises services until ctx is cancelled. A failing service is
restarted with backoff without stopping the others (ADR 0009).
Func adapts a function to a Service.
Service is a long-running piece supervised with restarts.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.