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 {}