Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rule ¶
func MergeRules ¶
MergeRules appends rule l after h, so h will be checked first. we append instead of merge since rules are regex, hard to merge, for example 'google.com' and '$google.com^' are the same.
Click to show internal directories.
Click to hide internal directories.