snix_castore_http::router

Function gen_router

Source
pub async fn gen_router(
    listen_args: ListenerAddressLFlag,
    service_addrs: ServiceUrlsGrpc,
    root_node: Node,
    index_names: &[String],
    auto_index: bool,
) -> Result<()>
Expand description

Runs the snix-castore-http server given the specified CLI arguments