Skip to main content

lora_server/
lib.rs

1//! HTTP transport layer for the Lora database.
2//!
3//! This crate is intentionally thin: it wraps anything that implements
4//! [`lora_database::QueryRunner`] (typically a [`lora_database::Database`])
5//! with an Axum router exposing `/health` and `/query`.
6
7pub mod app;
8pub mod config;
9
10pub use app::{build_app, serve, ErrorResponse, HealthResponse, QueryFormat, QueryRequest};
11pub use config::{ConfigError, ConfigOutcome, ServerConfig};