From 7de08b0688fe16c797ce05cba02f4cc0890fd9d0 Mon Sep 17 00:00:00 2001 From: phoenix Date: Sat, 13 Jun 2026 15:07:59 -0400 Subject: [PATCH] Code changes --- src/caller/mod.rs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/caller/mod.rs b/src/caller/mod.rs index 8b13789..5dd76e5 100644 --- a/src/caller/mod.rs +++ b/src/caller/mod.rs @@ -1 +1,16 @@ +pub mod endpoints { + pub const ROOT: &str = "/"; + pub const ADD_CONTACT: &str = "/api/v1/contact/new"; +} + +pub mod response { + pub const SUCCESSFUL: &str = "SUCCESSFUL"; +} + +/// Basic handler that responds with a static string +pub async fn root() -> &'static str { + "Hello, World!" +} + +pub mod contact {}