Add WIP relays to database and api
This commit is contained in:
parent
4e3df272c3
commit
734f8b291c
14 changed files with 387 additions and 88 deletions
emgauwa-controller/src
9
emgauwa-controller/src/relay_loop.rs
Normal file
9
emgauwa-controller/src/relay_loop.rs
Normal file
|
@ -0,0 +1,9 @@
|
|||
use chrono::Local;
|
||||
use crate::settings::Settings;
|
||||
|
||||
#[allow(unused_variables)]
|
||||
pub async fn run_relay_loop(settings: Settings) {
|
||||
let next_timestamp = Local::now().naive_local();
|
||||
loop {
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue