rrelayer_core 0.7.0

Core types and functionality for rrelayer - a powerful blockchain transaction relay service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::sync::Arc;

use axum::{routing::get, Router};

use crate::app_state::AppState;

pub mod status;
pub use status::{ApiKeyAccess, AuthType, StatusResponse};

pub fn create_basic_auth_routes() -> Router<Arc<AppState>> {
    Router::new().route("/status", get(status::status))
}