增加边缘脚本相关配置

This commit is contained in:
刘祥超
2022-01-01 21:51:15 +08:00
parent 2bf0c40328
commit 30f53d50f0
8 changed files with 659 additions and 271 deletions

View File

@@ -0,0 +1,13 @@
// Copyright 2021 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
package serverconfigs
type JSScriptConfig struct {
IsPrior bool `yaml:"isPrior" json:"isPrior"`
IsOn bool `yaml:"isOn" json:"isOn"`
Code string `yaml:"code" json:"code"`
}
func (this *JSScriptConfig) Init() error {
return nil
}