mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-09 00:20:25 +08:00
增加脚本相关配置和RPC接口
This commit is contained in:
14
pkg/rpc/protos/models/model_script.proto
Normal file
14
pkg/rpc/protos/models/model_script.proto
Normal file
@@ -0,0 +1,14 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
message Script {
|
||||
int64 id = 1;
|
||||
int64 userId = 2;
|
||||
bool isOn = 3;
|
||||
string name = 4;
|
||||
string filename = 5;
|
||||
string code = 6;
|
||||
int64 updatedAt = 7;
|
||||
}
|
||||
Reference in New Issue
Block a user