systemprompt_api/services/server/
mod.rs1pub mod builder;
15mod discovery;
16mod health;
17
18#[cfg(feature = "test-api")]
19pub mod test_api {
20 #[cfg(target_os = "linux")]
21 pub use super::health::parse_proc_status_kb;
22 pub use super::health::{audit_log_stats, database_stats, human_bytes, table_stats};
23 pub use super::health_detail::handle_health_detail;
24}
25mod health_detail;
26mod lifecycle;
27pub mod metrics;
28mod probes;
29pub mod readiness;
30mod routes;
31pub mod runner;
32pub mod scheduler_health;
33mod shutdown;
34pub mod startup;
35
36#[cfg(feature = "test-api")]
37pub use lifecycle::reconciliation_test_api;
38#[cfg(feature = "test-api")]
39pub use shutdown::test_api as shutdown_test_api;
40
41pub use builder::*;
42pub use readiness::{
43 ReadinessEvent, get_readiness_receiver, init_readiness, is_ready, signal_ready,
44 signal_shutdown, wait_for_ready,
45};
46pub use runner::*;
47pub use startup::{EarlyServer, bind_and_serve, starting_router};