Files
EdgeCommon/pkg/rpc/protos/models/model_db_node.proto
2021-08-30 10:57:03 +08:00

25 lines
402 B
Protocol Buffer

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;
string version = 4;
}