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 *StringList IP []*net.IPNet Port v2net.PortRange Network v2net.NetworkList }
func (*FieldRule) UnmarshalJSON ¶
type RouterRuleConfig ¶
type RouterRuleConfig struct {
RuleList []json.RawMessage `json:"rules"`
}
func (*RouterRuleConfig) Rules ¶
func (this *RouterRuleConfig) Rules() []config.Rule
type StringList ¶ added in v0.14.4
type StringList []string
func NewStringList ¶ added in v0.14.4
func NewStringList(str ...string) *StringList
func (*StringList) Len ¶ added in v0.14.4
func (this *StringList) Len() int
func (*StringList) UnmarshalJSON ¶ added in v0.14.4
func (this *StringList) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.