mirror of
https://github.com/fankes/komari-agent.git
synced 2025-12-12 00:13:37 +08:00
feat: #28 支持使用环境变量 / 配置文件来传入 agent 参数
This commit is contained in:
@@ -5,9 +5,12 @@ import (
|
||||
"fmt"
|
||||
|
||||
"github.com/gorilla/websocket"
|
||||
"github.com/komari-monitor/komari-agent/cmd/flags"
|
||||
|
||||
pkg_flags "github.com/komari-monitor/komari-agent/cmd/flags"
|
||||
)
|
||||
|
||||
var flags = pkg_flags.GlobalConfig
|
||||
|
||||
// Terminal 接口定义平台特定的终端操作
|
||||
type Terminal interface {
|
||||
Close() error
|
||||
|
||||
Reference in New Issue
Block a user