ruwebframe 0.1.2

a simple webframe for rust actix-web, based on rudi and rbatis.
Documentation
use crate::rubase::ruentity;
use crate::rulog;
use serde::{Deserialize, Serialize};

#[derive(Debug, Default, Serialize, Clone, Deserialize)]
pub struct RuCmd {}

impl ruentity::BaseEntitySingle for RuCmd {}

impl RuCmd {
    pub fn new(&self) -> Self {
        Self {
            ..Default::default()
        }
    }
    pub fn test(&self) {
        rulog::info("rucmd test");
    }
    pub fn do_cmd(&self) {
        rulog::info("rucmd do_cmd");
    }

    pub fn help(&self) {
        rulog::info("rucmd help");
    }
    pub fn version(&self) {
        rulog::info("rucmd version");
    }
    pub fn exit(&self) {
        rulog::info("rucmd exit");
    }
    pub fn help_cmd(&self) {
        rulog::info("rucmd help_cmd");
    }
    pub fn rudi(&self) {
        rulog::info("rucmd help_cmd");
    }
    pub fn enc(&self) {
        rulog::info("rucmd help_cmd");
    }
    pub fn dec(&self) {
        rulog::info("rucmd help_cmd");
    }
    pub fn cfg(&self) {
        rulog::info("rucmd cfg");
    }
}