Skip to main content

Crate cellos_server

Crate cellos_server 

Source
Expand description

CellOS HTTP control plane API library surface.

Exposes the router builder and core types so that integration tests (and future embedders) can drive the server without spawning a real TCP listener. See src/main.rs for the production wiring.

Re-exports§

pub use state::AppState;
pub use state::CellRecord;
pub use state::CellState;
pub use state::FormationRecord;
pub use state::FormationStatus;

Modules§

auth
Bearer token authentication.
error
RFC 9457 Problem Details for HTTP APIs.
jetstream
JetStream wiring for cellos-server.
routes
HTTP route handlers, grouped by resource.
state
Shared application state for the HTTP control plane.
ws
WebSocket → NATS bridge.

Functions§

router
Build the full axum router with all routes mounted at their canonical paths. AppState is cloned per request via axum’s with_state.