feat: #28 支持使用环境变量 / 配置文件来传入 agent 参数

This commit is contained in:
Akizon77
2025-11-04 16:13:44 +08:00
parent d30161651f
commit 384d3cf4bf
16 changed files with 117 additions and 48 deletions

View File

@@ -5,7 +5,6 @@ import (
"strings"
"time"
"github.com/komari-monitor/komari-agent/cmd/flags"
"github.com/komari-monitor/komari-agent/monitoring/netstatic"
"github.com/komari-monitor/komari-agent/utils"
"github.com/shirou/gopsutil/v4/net"