diff options
Diffstat (limited to 'src/api/liveops.rs')
| -rw-r--r-- | src/api/liveops.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/api/liveops.rs b/src/api/liveops.rs new file mode 100644 index 0000000..355103d --- /dev/null +++ b/src/api/liveops.rs @@ -0,0 +1,10 @@ +use actix_web::{get, web, Scope}; + +#[get("ping")] +async fn ping() -> &'static str { + "pong" +} + +pub fn service() -> Scope { + web::scope("liveops/").service(ping) +} |
