Skip to main content

Module webui

Module webui 

Source
Expand description

Loopback dashboard for the flow scheduler.

Copyright (c) 2026 Galih Tama galpt@v.recipes Serves the embedded page plus the live snapshot as JSON on loopback. Uses tiny_http 0.12 pinned in Cargo.toml with loopback only plus no TLS plus no store. Binds IPv6 loopback first with IPv4 fallback and serves no WAN route, so the page plus JSON never leave the host.

Re-exportsยง

use std::sync::Arc; ๐Ÿ”’
use std::sync::Mutex; ๐Ÿ”’
use std::sync::atomic::AtomicBool; ๐Ÿ”’
use std::sync::atomic::Ordering; ๐Ÿ”’
use std::time::Duration; ๐Ÿ”’
use crossbeam::channel::Receiver; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use serde_json::Value; ๐Ÿ”’
use serde_json::json; ๐Ÿ”’
use tiny_http::Header; ๐Ÿ”’
use tiny_http::Response; ๐Ÿ”’
use tiny_http::Server; ๐Ÿ”’
use crate::stats::WebMetrics; ๐Ÿ”’

Structsยง

WebState ๐Ÿ”’

Constantsยง

HTML ๐Ÿ”’
JSON ๐Ÿ”’
POLL ๐Ÿ”’
PORT ๐Ÿ”’

Functionsยง

jt ๐Ÿ”’
jv ๐Ÿ”’
merged ๐Ÿ”’
start