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

This commit is contained in:
GoEdgeLab
2022-03-25 14:12:12 +08:00
parent ea5614837c
commit 4029c473a5
6 changed files with 1860 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
package serverconfigs
// CommonScript 公共脚本
type CommonScript struct {
Id int64 `yaml:"id" json:"id"`
IsOn bool `yaml:"isOn" json:"isOn"`
Filename string `yaml:"filename" json:"filename"`
Code string `yaml:"code" json:"code"`
}