Skip to main content

webserver

Function webserver 

Source
pub async fn webserver(config: &Config) -> Result<(), AppError>
Expand description

schedr webserver: the REST API, until Ctrl-C or SIGTERM.

§Errors

As connect_database, listen and serve_api. A schema it can’t use yet is waited for (see wait_for_schema), not ready meanwhile.