From 9d2b6ee10ec5359cc91769d430485c8c869ba1a8 Mon Sep 17 00:00:00 2001 From: Akshay Date: Thu, 24 Dec 2020 10:51:40 +0530 Subject: monorepo --- src/handlers/smoke.rs | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 src/handlers/smoke.rs (limited to 'src/handlers/smoke.rs') diff --git a/src/handlers/smoke.rs b/src/handlers/smoke.rs deleted file mode 100644 index d0a1038..0000000 --- a/src/handlers/smoke.rs +++ /dev/null @@ -1,15 +0,0 @@ -use actix_web::{get, post, HttpResponse, Responder}; - -#[get("/")] -async fn hello() -> impl Responder { - HttpResponse::Ok().body("Hello world!") -} - -#[post("/echo")] -async fn echo(req_body: String) -> impl Responder { - HttpResponse::Ok().body(req_body) -} - -pub async fn manual_hello() -> impl Responder { - HttpResponse::Ok().body("Hey there!") -} -- cgit v1.2.3