mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-28 16:41:52 +08:00
feat: 添加 RustDesk 协议支持和项目文档
- 新增 RustDesk 模块,支持与 RustDesk 客户端连接 - 实现会合服务器协议和 P2P 连接 - 支持 NaCl 加密和密钥交换 - 添加视频帧和 HID 事件适配器 - 添加 Protobuf 协议定义 (message.proto, rendezvous.proto) - 新增完整项目文档 - 各功能模块文档 (video, hid, msd, otg, webrtc 等) - hwcodec 和 RustDesk 协议技术报告 - 系统架构和技术栈文档 - 更新 Web 前端 RustDesk 配置界面和 API
This commit is contained in:
@@ -89,6 +89,13 @@ pub fn create_router(state: Arc<AppState>) -> Router {
|
||||
.route("/config/atx", patch(handlers::config::update_atx_config))
|
||||
.route("/config/audio", get(handlers::config::get_audio_config))
|
||||
.route("/config/audio", patch(handlers::config::update_audio_config))
|
||||
// RustDesk configuration endpoints
|
||||
.route("/config/rustdesk", get(handlers::config::get_rustdesk_config))
|
||||
.route("/config/rustdesk", patch(handlers::config::update_rustdesk_config))
|
||||
.route("/config/rustdesk/status", get(handlers::config::get_rustdesk_status))
|
||||
.route("/config/rustdesk/password", get(handlers::config::get_device_password))
|
||||
.route("/config/rustdesk/regenerate-id", post(handlers::config::regenerate_device_id))
|
||||
.route("/config/rustdesk/regenerate-password", post(handlers::config::regenerate_device_password))
|
||||
// MSD (Mass Storage Device) endpoints
|
||||
.route("/msd/status", get(handlers::msd_status))
|
||||
.route("/msd/images", get(handlers::msd_images_list))
|
||||
|
||||
Reference in New Issue
Block a user