自动更新管控端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

35 lines
582 B

syntax = "proto3";
option go_package = "./pb";
// 服务信息
message ServiceInfo {
string id = 1;
string scname = 2;
string addr = 3;
string port = 4;
string token = 5;
int32 status=6;
}
// 目录下的文件信息
message FileInfo {
string name = 1;
string size = 2;
string modTime = 3;
}
// 代码内容
message CodeContent {
string name = 1;
bytes content = 2;
}
// 服务器磁盘占用,cpu 内存
message Hdinfo{
string hdstat=1;
string procout=2;
string cpustat=3;
string memstat=4;
string netstat=5;
}