lora-server 0.5.5

HTTP server binary for LoraDB, exposing a Cypher-over-HTTP API.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! 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`.

pub mod app;
pub mod config;

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