rxh 0.1.0

HTTP reverse proxy & load balancer
Documentation
1
2
3
4
5
6
7
8
9
#[tokio::main]
async fn main() -> Result<(), rxh::Error> {
    let config = toml::from_str(&tokio::fs::read_to_string("rxh.toml").await?)?;

    rxh::Master::init(config)?
        .shutdown_on(tokio::signal::ctrl_c())
        .run()
        .await
}