Function backend::config::data::init

source ·
pub fn init(database_url: &str) -> Data<AppDataInner>
Expand description

Initializes the app data that is available to all controllers.

Panics

If the database pool can not be initialized.