Initial commit (code only without large binaries)

This commit is contained in:
robin
2026-02-15 18:58:44 +08:00
commit 35df75498f
9442 changed files with 1495866 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
package firewallconfigs
type KeyValue struct {
Name string `json:"name"`
Value string `json:"value"`
}
func NewKeyValue(name string, value string) *KeyValue {
return &KeyValue{
Name: name,
Value: value,
}
}
// HTTPFirewallCheckpointDefinition check point definition
type HTTPFirewallCheckpointDefinition struct {
Name string `json:"name"` // 名称
Description string `json:"description"` // 描述
Prefix string `json:"prefix"` // 前缀
IsRequest bool `json:"isRequest"` // 是否为请求
HasParams bool `json:"hasParams"` // 是否有子参数
Params []*KeyValue `json:"params"` // 参数
Options []OptionInterface `json:"options"` // 选项
IsComposed bool `json:"isComposed"` // 是否为组合的checkpoint
Priority int `json:"priority"` // 优先级
DataType string `json:"dataType"` // 数据类型number, bool等
Version string `json:"version"` // 被加入的版本号
}