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
src/app.rs Normal file
View File

@@ -0,0 +1 @@
pub mod node_notifier;

2
src/app/node_notifier.rs Normal file
View File

@@ -0,0 +1,2 @@
pub mod ports;
pub mod services;

View File

View File

@@ -0,0 +1 @@
pub mod service;

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
src/lib.rs Normal file
View File

@@ -0,0 +1 @@
pub mod app;

0
src/outside.rs Normal file
View File

0
src/outside/driven.rs Normal file
View File

View File