Skip to main content

Module server

Module server 

Source
Expand description

Convenience entry point for booting an application’s HTTP server.

Functions§

start_server
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.
start_server_with
Like start_server, but with optional bind/port overrides that take precedence over the config file (used by doido server --port/--bind).