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§
Functions§
- start
- 启动 Web 服务器(自动加载配置和初始化日志)
- start_
with_ config - 使用已有配置启动 Web 服务器(不自动初始化日志)
- start_
with_ routes - 启动 Web 服务器并添加自定义路由