Documentation ¶ Index ¶ type Matcher func NewMatcher(domains []string, domainSuffix []string) *Matcher func ReadMatcher(reader io.Reader) (*Matcher, error) func (m *Matcher) Match(domain string) bool func (m *Matcher) Write(writer io.Writer) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Matcher ¶ type Matcher struct { // contains filtered or unexported fields } func NewMatcher ¶ func NewMatcher(domains []string, domainSuffix []string) *Matcher func ReadMatcher ¶ added in v0.3.0 func ReadMatcher(reader io.Reader) (*Matcher, error) func (*Matcher) Match ¶ func (m *Matcher) Match(domain string) bool func (*Matcher) Write ¶ added in v0.3.0 func (m *Matcher) Write(writer io.Writer) error Source Files ¶ View all Source files matcher.go set.go Click to show internal directories. Click to hide internal directories.