mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-02-08 14:35:39 +08:00
增加脚本相关配置和RPC接口
This commit is contained in:
11
pkg/serverconfigs/script_common.go
Normal file
11
pkg/serverconfigs/script_common.go
Normal 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user