Skip to main content

Module common

Module common 

Source
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.toml and server.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”).