startup

Function startup 

Source
pub async fn startup<L>(config: L) -> Result<(), BoxError>
where L: CreateListener + Retrieve + 'static,
Expand description

§Startup the gateway

The config could be any type that implements spacegate_config::service::CreateListener and spacegate_config::service::Retrieve trait.

§Errors

If the config is invalid, it will return a BoxError.