Files
One-KVM/src/web/mod.rs
mofeng-git 37af369b43 refactor: 简化运行时与服务协调
提取运行时生命周期管理,集中远程访问与 USB 协调,并缩小 Web 路由状态依赖。
2026-08-26 10:53:08 +08:00

19 lines
363 B
Rust

mod audio_ws;
mod error;
mod handlers;
mod routes;
pub(crate) mod state;
mod static_files;
#[cfg(unix)]
mod uac_ws;
mod ws;
pub use audio_ws::audio_ws_handler;
pub use error::ErrorResponse;
pub use routes::create_router;
#[cfg(not(debug_assertions))]
pub use static_files::StaticAssets;
#[cfg(unix)]
pub use uac_ws::uac_audio_ws_handler;
pub use ws::ws_handler;