管理端全部功能跑通
This commit is contained in:
31
EdgeCommon/pkg/rpc/protos/models/model_httpdns_rule.proto
Normal file
31
EdgeCommon/pkg/rpc/protos/models/model_httpdns_rule.proto
Normal file
@@ -0,0 +1,31 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
message HTTPDNSRuleRecord {
|
||||
int64 id = 1;
|
||||
int64 ruleId = 2;
|
||||
string recordType = 3;
|
||||
string recordValue = 4;
|
||||
int32 weight = 5;
|
||||
int32 sort = 6;
|
||||
}
|
||||
|
||||
message HTTPDNSCustomRule {
|
||||
int64 id = 1;
|
||||
int64 appId = 2;
|
||||
int64 domainId = 3;
|
||||
string ruleName = 4;
|
||||
string lineScope = 5;
|
||||
string lineCarrier = 6;
|
||||
string lineRegion = 7;
|
||||
string lineProvince = 8;
|
||||
string lineContinent = 9;
|
||||
string lineCountry = 10;
|
||||
int32 ttl = 11;
|
||||
bool isOn = 12;
|
||||
int32 priority = 13;
|
||||
int64 updatedAt = 14;
|
||||
repeated HTTPDNSRuleRecord records = 15;
|
||||
}
|
||||
Reference in New Issue
Block a user