Crate ya_sb_router[][src]

Expand description

Gsb Router

use ya_sb_router::{InstanceConfig, RouterConfig};

#[actix_rt::main]
async fn main() {
    let mut config = RouterConfig::from_env();
    config.gc_interval_secs(60);
    InstanceConfig::new(config).run_url(None).await;
}

Structs

Router config with instance identification info.

Message router configuration.

Functions

Starts in background new server instance on given gsb address.

Starts in background new server instance on given tcp address.