mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-02-28 14:05:36 +08:00
优化脚本代码配置
This commit is contained in:
14
pkg/serverconfigs/script_config.go
Normal file
14
pkg/serverconfigs/script_config.go
Normal file
@@ -0,0 +1,14 @@
|
||||
// Copyright 2021 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
|
||||
|
||||
package serverconfigs
|
||||
|
||||
type ScriptConfig struct {
|
||||
IsPrior bool `yaml:"isPrior" json:"isPrior"`
|
||||
IsOn bool `yaml:"isOn" json:"isOn"`
|
||||
|
||||
Code string `yaml:"code" json:"code"`
|
||||
}
|
||||
|
||||
func (this *ScriptConfig) Init() error {
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user