Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Loader ¶
type Loader struct {
// contains filtered or unexported fields
}
func (*Loader) Add ¶
Add adds rule to the matcher. Rule format: <typ:><exp> <typ> can be domain | full | regexp Default type is domain if <typ> is omitted. <exp> is a domain name, escaping is not supported. For regexp, <exp> is a regular expression for Non-fqdn, lower-case domains.
E.g. "google.com", "regexp:google.com$"
Click to show internal directories.
Click to hide internal directories.