Crate spatio_server

Crate spatio_server 

Source
Expand description

Spatio Server

High-performance server for Spatio spatio-temporal database.

§Transports

  • RPC (default): High-performance tarpc-based transport
  • HTTP (optional): REST API, enable with http feature

§Example

use spatio_server::run_server;

run_server(addr, db, shutdown).await?;

Re-exports§

pub use protocol::CurrentLocation;
pub use protocol::LocationUpdate;
pub use protocol::SpatioService;
pub use protocol::SpatioServiceClient;
pub use protocol::Stats;
pub use protocol::UpsertOptions;
pub use transport::rpc::run_server;

Modules§

handler
protocol
Protocol definitions for Spatio RPC
transport
Transport layer for Spatio server