mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-23 19:20:24 +08:00
对服务增加基础的数据统计/部分代码分Package
This commit is contained in:
42
pkg/rpc/protos/models/model_server.proto
Normal file
42
pkg/rpc/protos/models/model_server.proto
Normal file
@@ -0,0 +1,42 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
import "models/model_node_cluster.proto";
|
||||
import "models/model_server_group.proto";
|
||||
import "models/model_user.proto";
|
||||
import "models/model_server_name_auditing_result.proto";
|
||||
|
||||
message Server {
|
||||
int64 id = 1;
|
||||
bool isOn = 18;
|
||||
string type = 2;
|
||||
string name = 3;
|
||||
string description = 4;
|
||||
bytes includeNodes = 5;
|
||||
bytes excludeNodes = 6;
|
||||
int64 createdAt = 7;
|
||||
string dnsName = 19;
|
||||
|
||||
// 配置相关
|
||||
bytes config = 17;
|
||||
bytes serverNamesJSON = 8;
|
||||
bool isAuditing = 20;
|
||||
bytes auditingServerNamesJSON = 21;
|
||||
ServerNameAuditingResult auditingResult = 22;
|
||||
|
||||
bytes httpJSON = 9;
|
||||
bytes httpsJSON = 10;
|
||||
bytes tcpJSON = 11;
|
||||
bytes tlsJSON = 12;
|
||||
bytes unixJSON = 13;
|
||||
bytes udpJSON = 14;
|
||||
int64 webId = 15;
|
||||
bytes reverseProxyJSON = 16;
|
||||
|
||||
NodeCluster nodeCluster = 30;
|
||||
repeated ServerGroup groups = 31;
|
||||
User user = 32;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user