Skip to main content

run

Function run 

Source
pub async fn run(
    config: &Config,
    shutdown: impl Future<Output = ()>,
) -> Result<(), ServeError>
Expand description

Runs the server until shutdown completes: locks the data directory, opens the registry under the master key, and serves the API over TLS.