Skip to main content

Module server

Module server 

Source
Expand description

API server assembly, lifecycle, and readiness.

Builds the axum router and global middleware stack (builder), runs the startup reconciliation and serving loop (runner), and exposes the readiness signalling surface (is_ready, signal_ready, wait_for_ready) used by external health probes. Discovery, health, metrics, and route configuration live in the private submodules.

Re-exports§

pub use readiness::ReadinessEvent;
pub use readiness::get_readiness_receiver;
pub use readiness::init_readiness;
pub use readiness::is_ready;
pub use readiness::signal_ready;
pub use readiness::signal_shutdown;
pub use readiness::wait_for_ready;
pub use builder::*;
pub use runner::*;

Modules§

builder
API server construction and the global middleware stack.
metrics
readiness
runner