mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-20 13:00:24 +08:00
实现HTTP部分功能
This commit is contained in:
@@ -12,7 +12,7 @@ type HTTPFirewallPolicy struct {
|
||||
Name string `field:"name"` // 名称
|
||||
Inbound string `field:"inbound"` // 入站规则
|
||||
Outbound string `field:"outbound"` // 出站规则
|
||||
Conds string `field:"conds"` // 条件
|
||||
CondGroups string `field:"condGroups"` // 条件
|
||||
}
|
||||
|
||||
type HTTPFirewallPolicyOperator struct {
|
||||
@@ -26,7 +26,7 @@ type HTTPFirewallPolicyOperator struct {
|
||||
Name interface{} // 名称
|
||||
Inbound interface{} // 入站规则
|
||||
Outbound interface{} // 出站规则
|
||||
Conds interface{} // 条件
|
||||
CondGroups interface{} // 条件
|
||||
}
|
||||
|
||||
func NewHTTPFirewallPolicyOperator() *HTTPFirewallPolicyOperator {
|
||||
|
||||
Reference in New Issue
Block a user