增加脚本相关配置和RPC接口

This commit is contained in:
刘祥超
2022-03-25 14:12:12 +08:00
parent bc2c6a56ed
commit b8d45ab42e
6 changed files with 1860 additions and 0 deletions

View File

@@ -65,6 +65,9 @@ type NodeConfig struct {
// 自动白名单
AllowedIPs []string `yaml:"allowedIPs" json:"allowedIPs"`
// 脚本
CommonScripts []*serverconfigs.CommonScript `yaml:"commonScripts" json:"commonScripts"`
paddedId string
// firewall