Skip to main content

Crate worldinterface_daemon

Crate worldinterface_daemon 

Source
Expand description

HTTP API daemon for WorldInterface.

Wraps worldinterface-host in an axum HTTP server with endpoints for flow submission, run inspection, capability discovery, and single-op invocation.

Re-exports§

pub use config::DaemonConfig;
pub use error::ApiError;
pub use error::DaemonError;
pub use metrics::WiMetricsRegistry;
pub use routes::flows::SubmitFlowRequest;
pub use routes::flows::SubmitFlowResponse;
pub use server::run;
pub use state::AppState;
pub use state::SharedState;

Modules§

config
Daemon configuration.
error
Error types for the daemon.
metrics
Prometheus metrics for the WorldInterface daemon.
router
Router construction.
routes
server
Daemon startup, serving, and shutdown.
state
Shared application state for route handlers.