puniyu_server 0.8.0

puniyu HTTP 服务器库,提供基于 Actix-Web 的 Web 服务功能
Documentation
1
2
3
4
5
6
7
8
mod info;
mod logo;

pub(crate) fn register_routes(cfg: &mut actix_web::web::ServiceConfig) {
	use actix_web::web;
	cfg.service(info::info);
	cfg.service(web::resource("/logo").route(web::get().to(logo::logo)));
}