From 2b2193e255e55fe55dedf7dce0e6bdc22f4860ee Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期六, 19 八月 2023 19:39:11 +0800 Subject: [PATCH] 修改网络设调用禁用或停用脚本 --- conf/config.go | 23 +++++++++++++---------- 1 files changed, 13 insertions(+), 10 deletions(-) diff --git a/conf/config.go b/conf/config.go index c28317b..cdd7133 100644 --- a/conf/config.go +++ b/conf/config.go @@ -24,16 +24,19 @@ type ( System struct { - Env string // 鐜鍊� develop test public - Port int // 绔彛 - DbType string // 鏁版嵁搴撶被鍨� - UseMultipoint bool // 澶氱偣鐧诲綍鎷︽埅 - UseRedis bool // 浣跨敤redis - LimitCountIP int - LimitTimeIP int - RouterPrefix string // 璺敱鍓嶇紑 - SudoPassword string // sudo瀵嗙爜 - DeviceId string //璁惧id + Env string // 鐜鍊� develop test public + Port int // 绔彛 + DbType string // 鏁版嵁搴撶被鍨� + UseMultipoint bool // 澶氱偣鐧诲綍鎷︽埅 + UseRedis bool // 浣跨敤redis + LimitCountIP int + LimitTimeIP int + RouterPrefix string // 璺敱鍓嶇紑 + SudoPassword string // sudo瀵嗙爜 + DeviceId string //璁惧id + NetSetShellPath string //缃戠粶璁剧疆鑴氭湰璺緞 + NetUpShellName string //缃戠粶鍋滅敤鑴氭湰 + NetDownShellName string //缃戠粶寮�鍚剼鏈� } Etcd struct { -- Gitblit v1.8.0