Expand description
Helpers shared by both binaries (manta-cli today; manta-server soon).
Modules§
- app_
context - CLI context struct threaded through
manta-cli’s call stack. - audit
- Audit trail helpers: build and send structured JSON messages to Kafka.
- check_
network_ connectivity - Tiny TCP-reachability probe for backend API endpoints.
- config
- Config-file loaders for
cli.tomlandserver.toml. - error
- Structured error type returned by
manta-shared’s pure helpers. - jwt_ops
- JWT claim extractors used by the audit and authorization paths.
- kafka
- Lazily-initialised Kafka producer used by the audit subsystem.
- log_ops
- Tracing-subscriber initialisation shared by both binaries.
Constants§
- DATETIME_
FORMAT - Date-time format string used for displaying timestamps throughout the application (e.g. “04/03/2026 14:30:00”).