``` use serv4rs::{reg_router, run};
pub fn config(cfg: &mut actixweb::web::ServiceConfig) {
regrouter(cfg, "GET", "/1", || async { "Hey there! 啊啊送积分啦;送积分啦 1" });
regrouter(cfg, "GET", "/2", || async { "Hey there! 啊啊送积分啦;送积分啦 2" });
regrouter(cfg, "GET", "/3", || async { "Hey there! 啊啊送积分啦;送积分啦 3" });
reg_router(cfg, "GET", "/4", || async { "Hey there! 啊啊送积分啦;送积分啦 4" });
}
async fn main() { run("serv4rs", config).await } ```