Documentation
      ¶
    
    
  
    
  
    Index ¶
- type AddAction
 - type DayAction
 - type DeleteAction
 - type DetailAction
 - type ExportAction
 - type GroupAction
 - type GroupAddAction
 - type GroupDeleteAction
 - type GroupMoveAction
 - type GroupOffAction
 - type GroupOnAction
 - type GroupUpdateAction
 - type Helper
 - type HistoryAction
 - type ImportAction
 - type IndexAction
 - type MergeTemplateAction
 - type RuleAddAction
 - type RuleDeleteAction
 - type RuleMoveAction
 - type RuleOffAction
 - type RuleOnAction
 - type RuleUpdateAction
 - type RulesAction
 - type TestAction
 - type UpdateAction
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteAction ¶
type DetailAction ¶
type ExportAction ¶
type GroupAction ¶
type GroupAddAction ¶
func (*GroupAddAction) RunGet ¶
func (this *GroupAddAction) RunGet(params struct { WafId string Inbound bool })
添加分组
type GroupDeleteAction ¶
func (*GroupDeleteAction) RunPost ¶
func (this *GroupDeleteAction) RunPost(params struct { WafId string GroupId string })
删除分组
type GroupMoveAction ¶
type GroupOffAction ¶
func (*GroupOffAction) RunPost ¶
func (this *GroupOffAction) RunPost(params struct { WafId string GroupId string })
停用分组
type GroupOnAction ¶
func (*GroupOnAction) RunPost ¶
func (this *GroupOnAction) RunPost(params struct { WafId string GroupId string })
启用分组
type GroupUpdateAction ¶
func (*GroupUpdateAction) RunGet ¶
func (this *GroupUpdateAction) RunGet(params struct { WafId string GroupId string })
修改分组
type Helper ¶
type Helper struct {
}
    func (*Helper) BeforeAction ¶
func (this *Helper) BeforeAction(action *actions.ActionObject)
相关Helper
type HistoryAction ¶ added in v0.1.10
func (*HistoryAction) RunGet ¶ added in v0.1.10
func (this *HistoryAction) RunGet(params struct { WafId string })
type ImportAction ¶
type IndexAction ¶
type MergeTemplateAction ¶
func (*MergeTemplateAction) RunPost ¶
func (this *MergeTemplateAction) RunPost(params struct { WafId string })
从模版中更新数据
type RuleAddAction ¶
func (*RuleAddAction) RunGet ¶
func (this *RuleAddAction) RunGet(params struct { WafId string GroupId string })
func (*RuleAddAction) RunPost ¶
func (this *RuleAddAction) RunPost(params struct { WafId string GroupId string Name string RulePrefixes []string RuleParams []string RuleOperators []string RuleValues []string RuleCases []int RuleOptions []string Connector string Action string Test bool TestPrefixes []string TestParams []string TestValues []string Must *actions.Must })
提交测试或者保存
type RuleDeleteAction ¶
type RuleMoveAction ¶
type RuleOffAction ¶
type RuleOnAction ¶
type RuleUpdateAction ¶
func (*RuleUpdateAction) RunGet ¶
func (this *RuleUpdateAction) RunGet(params struct { WafId string GroupId string SetId string })
修改规则集
func (*RuleUpdateAction) RunPost ¶
func (this *RuleUpdateAction) RunPost(params struct { WafId string GroupId string SetId string Name string RulePrefixes []string RuleParams []string RuleOperators []string RuleValues []string RuleCases []int RuleOptions []string Connector string Action string Test bool TestPrefixes []string TestParams []string TestValues []string Must *actions.Must })
提交测试或者保存
type RulesAction ¶
func (*RulesAction) RunGet ¶
func (this *RulesAction) RunGet(params struct { Inbound bool WafId string })
规则
type TestAction ¶
func (*TestAction) RunGet ¶
func (this *TestAction) RunGet(params struct { WafId string Inbound bool })
测试
type UpdateAction ¶
      
      Source Files
      ¶
    
   Click to show internal directories. 
   Click to hide internal directories.