1
0
mirror of https://github.com/actix/actix-website synced 2025-02-09 23:05:37 +01:00

12 lines
259 B
Rust
Raw Normal View History

2019-06-17 02:08:42 -04:00
use actix_web::{web, App, HttpRequest, HttpResponse};
2018-05-24 10:13:55 -07:00
2019-06-13 03:24:25 -04:00
// <scope>
fn show_users(_req: HttpRequest) -> HttpResponse {
2018-05-24 10:13:55 -07:00
unimplemented!()
}
pub fn main() {
App::new().service(web::scope("/users").route("/show", web::get().to(show_users)));
2018-05-24 10:13:55 -07:00
}
2019-06-13 03:24:25 -04:00
// </scope>