Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FieldRule ¶
type FieldRule struct { Rule Domain string IP *net.IPNet Port v2net.PortRange Network v2net.NetworkList }
func (*FieldRule) Apply ¶
func (this *FieldRule) Apply(dest v2net.Destination) bool
type RouterRuleConfig ¶
type RouterRuleConfig struct {
RuleList []json.RawMessage `json:"rules"`
}
func (*RouterRuleConfig) Rules ¶
func (this *RouterRuleConfig) Rules() []config.Rule
Click to show internal directories.
Click to hide internal directories.