ruwebframe 0.1.2

a simple webframe for rust actix-web, based on rudi and rbatis.
Documentation
// pkg rubase::rudto::cfgdto::webdto

/*
	@Title   文件名称: serverdto_init.rs
	@Desp    描述:    依赖自动注入
    @Company 公司:    wcht.akunlong.top
	@Author  作者:    raymond@163.com  时间: 2026-08-09 17:27:12
	@Update  作者:    raymond@163.com  时间: 2026-08-09 17:27:12
*/

// StructInit自动生成,一般不要手动修改

use std::sync::Arc;
use ctor::ctor;

use crate::rudi::dicontainer::direg;
use crate::rubase::rudto::cfgdto::webdto::ServerDto;

#[ctor(unsafe)]
pub fn init() {
    register_bean_serverdto();
}

const SINGLE_BEAN_NAME: &str = "rubase::rudto::cfgdto::webdto:ServerDto:a8792f87-7760-470d-88df-c03e0d49c979}";

pub fn find_bean_serverdto() -> Option<Arc<ServerDto>> {
    direg::get_bean::<ServerDto>(SINGLE_BEAN_NAME)
}

pub fn register_bean_serverdto() {
    direg::register(SINGLE_BEAN_NAME, ServerDto::new);
}


// StructInfo
/*
 {
  "pathFile": "./src\\rubase\\rudto\\cfgdto\\webdto.rs",
  "pathPkg": "./src\\rubase\\rudto\\cfgdto",
  "structName": "ServerDto",
  "structPkg": "rubase::rudto::cfgdto::webdto",
  "ifSingle": false,
  "ifDefault": false,
  "structIniFile": "serverdto_init.rs",
  "existIniFile": true,
  "single_bean_name": ":ServerDto:59676bad-b5e0-4cb8-9f20-77b67a2c084b",
  "modFile": "./src\\rubase\\rudto\\cfgdto/mod.rs",
  "ifExistsInitMod": false,
  "ifExistsInitUse": false
}
*/