mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-25 03:26:36 +08:00
优化API命名
This commit is contained in:
@@ -36,6 +36,6 @@ message Node {
|
||||
NodeLogin login = 33;
|
||||
NodeInstallStatus installStatus = 34;
|
||||
repeated NodeIPAddress ipAddresses = 35;
|
||||
NodeGroup group = 36;
|
||||
NodeRegion region = 37;
|
||||
NodeGroup nodeGroup = 36;
|
||||
NodeRegion nodeRegion = 37;
|
||||
}
|
||||
@@ -7,7 +7,7 @@ message NodeCluster {
|
||||
int64 id = 1;
|
||||
string name = 2;
|
||||
int64 createdAt = 3;
|
||||
int64 grantId = 4;
|
||||
int64 nodeGrantId = 4;
|
||||
string installDir = 5;
|
||||
string uniqueId = 6;
|
||||
string secret = 7;
|
||||
|
||||
@@ -17,6 +17,6 @@ message NSNode {
|
||||
//NodeLogin login = 33;
|
||||
//NodeInstallStatus installStatus = 34;
|
||||
//repeated NodeIPAddress ipAddresses = 35;
|
||||
//NodeGroup group = 36;
|
||||
//NodeGroup nodeGroup = 36;
|
||||
//NodeRegion region = 37;
|
||||
}
|
||||
@@ -36,7 +36,7 @@ message Server {
|
||||
bytes reverseProxyJSON = 16;
|
||||
|
||||
NodeCluster nodeCluster = 30;
|
||||
repeated ServerGroup groups = 31;
|
||||
repeated ServerGroup serverGroups = 31;
|
||||
User user = 32;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user