This commit is contained in:
2025-07-20 13:07:08 +02:00
parent f625268fca
commit 09f1db452b
17 changed files with 1842 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
pub mod node_notifier;
+2
View File
@@ -0,0 +1,2 @@
pub mod ports;
pub mod services;
View File
+1
View File
@@ -0,0 +1 @@
pub mod service;
+24
View File
@@ -0,0 +1,24 @@
pub struct Service {}
impl Service {
pub fn new() -> Self {
Service {}
}
pub fn run(&self) -> Result<(), String> {
println!("Service is running...");
Ok(())
}
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_service_run() {
let service = Service::new();
assert!(service.run().is_ok(), "Service should run without errors");
}
}
+1
View File
@@ -0,0 +1 @@
pub mod app;
View File
View File
View File