管理端全部功能跑通
This commit is contained in:
45
EdgeCommon/pkg/rpc/protos/service_httpdns_sandbox.proto
Normal file
45
EdgeCommon/pkg/rpc/protos/service_httpdns_sandbox.proto
Normal file
@@ -0,0 +1,45 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
import "models/rpc_messages.proto";
|
||||
|
||||
service HTTPDNSSandboxService {
|
||||
rpc testHTTPDNSResolve (TestHTTPDNSResolveRequest) returns (TestHTTPDNSResolveResponse);
|
||||
}
|
||||
|
||||
message TestHTTPDNSResolveRequest {
|
||||
int64 clusterId = 1;
|
||||
string appId = 2;
|
||||
string domain = 3;
|
||||
string qtype = 4;
|
||||
string clientIP = 5;
|
||||
string sid = 6;
|
||||
string sdkVersion = 7;
|
||||
string os = 8;
|
||||
}
|
||||
|
||||
message HTTPDNSResolveRecord {
|
||||
string type = 1;
|
||||
string ip = 2;
|
||||
int32 ttl = 3;
|
||||
int32 weight = 4;
|
||||
string line = 5;
|
||||
string region = 6;
|
||||
}
|
||||
|
||||
message TestHTTPDNSResolveResponse {
|
||||
string code = 1;
|
||||
string message = 2;
|
||||
string requestId = 3;
|
||||
string domain = 4;
|
||||
string qtype = 5;
|
||||
int32 ttl = 6;
|
||||
repeated HTTPDNSResolveRecord records = 7;
|
||||
string clientIP = 8;
|
||||
string clientRegion = 9;
|
||||
string clientCarrier = 10;
|
||||
string clientCountry = 11;
|
||||
string summary = 12;
|
||||
}
|
||||
Reference in New Issue
Block a user