Commit Graph

4 Commits

Author SHA1 Message Date
Akizon77
2cecb92440 feat: https://github.com/komari-monitor/komari/issues/108 实现应用层的心跳机制
git忽略__debug
2025-07-08 15:08:17 +08:00
Akizon77
562c8ffa3c feat: 添加安全的WebSocket连接管理,支持ping任务功能 2025-06-21 14:43:41 +08:00
Akizon77
b247a6ebee feat: 添加任务执行功能
fix: 版本解析逻辑
2025-06-04 17:20:39 +08:00
Akizon77
e34367de69 Refactor monitoring package: remove platform-specific files and consolidate OS detection and process counting logic
- Deleted os_windows.go and process_windows.go, replacing them with platform-agnostic implementations in unit directory.
- Removed Linux-specific process counting logic from process_linux.go and integrated it into unit.
- Consolidated uptime and OS name retrieval into unit files for better organization.
- Updated update mechanism to use global variables for current version and repository.
- Introduced command-line flags for configuration, including disabling auto-update and web SSH.
- Implemented WebSocket connection handling and terminal interaction for both Unix and Windows systems.
- Added basic info upload functionality to server package, enhancing monitoring capabilities.
2025-05-16 19:56:22 +08:00