Skip to main content

start

Function start 

Source
pub async fn start(
    port: Option<u16>,
    host: Option<String>,
    base_path: Option<String>,
    auth_token: Option<String>,
    open_mode: Option<String>,
    auth_enabled: Option<bool>,
    view: Option<String>,
)
Expand description

Start the dashboard server — the single local entry point that hosts the Cockpit — or open the one already running. view is the Cockpit view to open (a hash route such as savings); None opens its start page.