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

This commit is contained in:
刘祥超
2022-03-25 14:12:12 +08:00
parent bc2c6a56ed
commit b8d45ab42e
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"`
}