Skip to main content

Crate amaters_server

Crate amaters_server 

Source
Expand description

AmateRS Server Library

This library exposes server modules for integration testing.

Re-exports§

pub use log_rotation::LogGuard;
pub use log_rotation::LogRotation;
pub use log_rotation::LogRotationConfig;
pub use log_rotation::LogRotationError;
pub use log_rotation::cleanup_old_logs;
pub use log_rotation::setup_rotating_logger;
pub use migration::Migration;
pub use migration::MigrationContext;
pub use migration::MigrationPlan;
pub use migration::MigrationRegistry;
pub use server::ServerError;
pub use server::ServerResult;

Modules§

admin
Admin API for cluster and shard management.
audit
Audit logging module
auth
Authentication module
authz
Authorization module
cluster_integration
Wires amaters-cluster’s Raft node into the server lifecycle.
config
Server configuration module
health
Health check endpoint
hot_reload
Hot-reload support for server configuration and TLS certificates.
log_rotation
Log rotation support for the AmateRS server.
metrics
Metrics collection module
middleware
Composable middleware pipeline for request processing.
migration
Versioned document migration framework.
query_cache
Server-side query result cache
retry
Retry logic for transient failures in the AmateRS server.
server
Server runtime module
service
Network service module
shutdown
Graceful shutdown handling
snapshot
Snapshot creation and restore for server-level state.
tls_config
TLS configuration builder for gRPC server
version
Version compatibility and rolling upgrade support.