pub fn init(cfg: &mut ServiceConfig, settings: &LocalConfigData) {
    init_default(cfg);
    init_api(cfg);

    // !warning: only debug!
    if settings.debug == true {
        init_debug(cfg)
    }
}
/// Function that will be called on new Application to configure routes for this module
/// Initial all routes
Function that will be called on new Application to configure routes for this module
Initial all routes
Function that will be called on new Application to configure routes for this module Initial all routes
pub fn init(cfg: &mut ServiceConfig, settings: &LocalConfigData) {
    init_default(cfg);
    init_api(cfg);
    // !warning: only debug!
    if settings.debug == true {
        init_debug(cfg)
    }
}
pub fn init ( cfg : & mut ServiceConfig , settings : & LocalConfigData ) { init_default ( cfg ) ; init_api ( cfg ) ; // !warning: only debug! if settings . debug == true { init_debug ( cfg ) } }
Function that will be called on new Application to configure routes for this module
Initial all routes
Function that will be called on new Application to configure routes for this module Initial all routes
cfg
&mut ServiceConfig
settings
&LocalConfigData
cfg
&mut ServiceConfig
settings
&LocalConfigData