Skip to main content

start_server

Function start_server 

Source
pub async fn start_server(router: Router) -> Result<()>
Expand description

Boots the HTTP server for router using config/<env>.yml (the environment comes from doido_core::Environment::get_env). Missing config falls back to 0.0.0.0:3000.