summaryrefslogtreecommitdiff
path: root/server/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/app')
-rw-r--r--server/src/app/mod.rs10
-rw-r--r--server/src/app/run.rs9
2 files changed, 19 insertions, 0 deletions
diff --git a/server/src/app/mod.rs b/server/src/app/mod.rs
new file mode 100644
index 0000000..0ec083c
--- /dev/null
+++ b/server/src/app/mod.rs
@@ -0,0 +1,10 @@
+// Copyright 2022-2024 Gabriel Bjørnager Jensen.
+
+mod run;
+
+pub struct App;
+
+impl App {
+ #[must_use]
+ pub fn new() -> Self { Self }
+}
diff --git a/server/src/app/run.rs b/server/src/app/run.rs
new file mode 100644
index 0000000..f04e42f
--- /dev/null
+++ b/server/src/app/run.rs
@@ -0,0 +1,9 @@
+// Copyright 2022-2024 Gabriel Bjørnager Jensen.
+
+use crate::App;
+
+impl App {
+ pub fn run(self) -> Result<(), i32> {
+ Ok(())
+ }
+}