ruwebframe 0.1.7

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-17 21:44:02
	@Update  作者:    raymond@163.com  时间: 2026-08-17 21:44:02
*/

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

use std::sync::Arc;
use ctor::ctor;
use crate::rubase::rudto::cfgdto::web_dto::ServerDto;
use crate::rudi::dicontainer::direg; 

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

const SINGLE_BEAN_NAME: &str = "*rubase::rudto::cfgdto::webdto:ServerDto:73e0a9a0-51ca-4359-b52b-757dd3ccd662}";

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

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


// StructInfo
/*
 {
  "pathFile": "./src\\rubase\\rudto\\cfgdto\\web_dto",
  "pathPkg": "./src\\rubase\\rudto\\cfgdto",
  "structName": "ServerDto",
  "structPkg": "rubase::rudto::cfgdto::webdto",
  "ifSingle": false,
  "ifDefault": true,
  "structIniFile": "server_dto_init.rs",
  "existIniFile": false,
  "single_bean_name": "*:ServerDto:60ee1935-26ee-4864-945f-73a9b29d699d",
  "modFile": "./src\\rubase\\rudto\\cfgdto/mod.rs",
  "ifExistsInitMod": false,
  "ifExistsInitUse": false
}
*/