Files
EdgeCommon/pkg/rpc/protos/model_server.proto

34 lines
622 B
Protocol Buffer
Raw Normal View History

2020-09-13 19:27:47 +08:00
syntax = "proto3";
option go_package = "./pb";
package pb;
import "model_node_cluster.proto";
2020-10-29 21:37:52 +08:00
import "model_server_group.proto";
2020-09-13 19:27:47 +08:00
message Server {
int64 id = 1;
2020-09-28 16:25:49 +08:00
bool isOn = 18;
2020-09-15 14:44:38 +08:00
string type = 2;
string name = 3;
string description = 4;
bytes includeNodes = 5;
bytes excludeNodes = 6;
int64 createdAt = 7;
2020-09-13 19:27:47 +08:00
2020-09-15 14:44:38 +08:00
// 配置相关
bytes config = 17;
bytes serverNamesJON = 8;
bytes httpJSON = 9;
bytes httpsJSON = 10;
bytes tcpJSON = 11;
bytes tlsJSON = 12;
bytes unixJSON = 13;
bytes udpJSON = 14;
int64 webId = 15;
2020-09-21 11:37:09 +08:00
bytes reverseProxyJSON = 16;
2020-09-15 14:44:38 +08:00
NodeCluster cluster = 30;
2020-10-29 21:37:52 +08:00
repeated ServerGroup groups = 31;
2020-09-13 19:27:47 +08:00
}