mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-04-01 19:35:19 +08:00
增加边缘脚本相关配置
This commit is contained in:
13
pkg/serverconfigs/js_script_config.go
Normal file
13
pkg/serverconfigs/js_script_config.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user