aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2024-09-20 11:23:53 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2024-09-20 11:23:53 +0200
commite42edddd33382855202ff2f17e6b77d65f6ad152 (patch)
treec26c0f5b48e66a3f36380bcdfb1ecd60c7453234 /src/main.rs
parent7208269be13d0ee27fd696fcae31330e2a78b969 (diff)
downloadodr-dabmux-gui-e42edddd33382855202ff2f17e6b77d65f6ad152.tar.gz
odr-dabmux-gui-e42edddd33382855202ff2f17e6b77d65f6ad152.tar.bz2
odr-dabmux-gui-e42edddd33382855202ff2f17e6b77d65f6ad152.zip
Show RC params in dashboard
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index e64570a..66fbe23 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -4,9 +4,11 @@ use log::{debug, info, warn, error};
mod ui;
mod config;
+mod dabmux;
struct AppState {
conf : config::Config,
+ dabmux : dabmux::DabMux,
}
type SharedState = Arc<Mutex<AppState>>;
@@ -22,6 +24,7 @@ async fn main() -> std::io::Result<()> {
let shared_state = Arc::new(Mutex::new(AppState {
conf : conf.clone(),
+ dabmux : dabmux::DabMux::new(),
}));
let port = 3000;