Crate fbc_starter

Crate fbc_starter 

Source

Re-exports§

pub use config::Config;
pub use error::AppError;
pub use error::AppResult;
pub use handlers::AppState;
pub use routing::registry;
pub use routing::RouteGroup;
pub use routing::RouteRegistry;
pub use server::Server;

Modules§

config
error
handlers
middleware
routing
server

Functions§

start
启动 Web 服务器(自动加载配置和初始化日志)
start_with_config
使用已有配置启动 Web 服务器(不自动初始化日志)
start_with_routes
启动 Web 服务器并添加自定义路由