Skip to main content

serve

Function serve 

Source
pub async fn serve(
    prepared: Prepared,
    router: Router,
    banner: &str,
) -> Result<()>
Expand description

Bind and serve until Ctrl-C. The router is the caller’s: the dashboard passes the dashboard router, the gateway passes the dashboard router with the API merged on.