管理端全部功能跑通

This commit is contained in:
robin
2026-02-27 10:35:22 +08:00
parent 4d275c921d
commit 150799f41d
263 changed files with 22664 additions and 4053 deletions

View 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;
}