Skip to main content

Crate lora_server

Crate lora_server 

Source
Expand description

HTTP transport layer for the Lora database.

This crate is intentionally thin: it wraps anything that implements lora_database::QueryRunner (typically a lora_database::Database) with an Axum router exposing /health and /query.

Re-exports§

pub use app::build_app;
pub use app::build_app_with_admin;
pub use app::serve;
pub use app::serve_with_admin;
pub use app::AdminConfig;
pub use app::ErrorResponse;
pub use app::HealthResponse;
pub use app::QueryFormat;
pub use app::QueryRequest;
pub use app::SnapshotAdminConfig;
pub use app::SnapshotRequest;
pub use app::SnapshotResponse;
pub use app::WalStatusResponse;
pub use app::WalTruncateRequest;
pub use config::ConfigError;
pub use config::ConfigOutcome;
pub use config::ServerConfig;

Modules§

app
config
Runtime configuration for lora-server.