Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRuleIds ¶
Types ¶
type Domain ¶
type Domain struct { RuleType constants.RuleConfig `json:"ruleType"` Payload string `json:"payload"` Policy string `json:"policy"` }
func NewDomainRule ¶
func (Domain) Type ¶
func (d Domain) Type() constants.RuleConfig
type IpCidr ¶
type IpCidr struct { RuleType constants.RuleConfig `json:"ruleType"` Payload string `json:"payload"` Policy string `json:"policy"` // contains filtered or unexported fields }
func (IpCidr) Type ¶
func (i IpCidr) Type() constants.RuleConfig
Click to show internal directories.
Click to hide internal directories.