refactor: 优化启停逻辑

This commit is contained in:
jxxghp
2025-05-13 23:11:38 +08:00
parent 089ec36160
commit cf28e1d963
9 changed files with 97 additions and 56 deletions

View File

@@ -0,0 +1,15 @@
from monitor import Monitor
def init_monitor():
"""
初始化监控器
"""
Monitor()
def stop_monitor():
"""
停止监控器
"""
Monitor().stop()