对服务增加基础的数据统计/部分代码分Package

This commit is contained in:
刘祥超
2021-01-25 16:41:30 +08:00
parent f34d56e0c3
commit a294001aa4
245 changed files with 13026 additions and 8836 deletions

View File

@@ -0,0 +1,24 @@
syntax = "proto3";
option go_package = "./pb";
package pb;
message DBNode {
int64 id = 1;
string name = 2;
string description = 3;
bool isOn = 4;
string host = 5;
int32 port = 6;
string database = 7;
string username = 8;
string password = 9;
string charset = 10;
DBNodeStatus status = 30;
}
message DBNodeStatus {
bool isOk = 1;
int64 size = 2;
string error = 3;
}