filters

package
v0.0.0-...-c8307df Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DnstapFilterFunc

type DnstapFilterFunc interface {
	Filter(msg dnstap.Message) bool
}

type FQDNFilter

type FQDNFilter struct {
	FQDN string
}

func NewFQDNFilter

func NewFQDNFilter(a string) *FQDNFilter

func (*FQDNFilter) Filter

func (p *FQDNFilter) Filter(m dnstap.Message) bool

type IPFilter

type IPFilter struct {
	IP net.IP
}

func NewIPFilter

func NewIPFilter(a string) *IPFilter

func (*IPFilter) Filter

func (p *IPFilter) Filter(m dnstap.Message) bool

type RcodeFilter

type RcodeFilter struct {
	Rcode string
}

func NewRcodeFilter

func NewRcodeFilter(a string) *RcodeFilter

func (*RcodeFilter) Filter

func (p *RcodeFilter) Filter(m dnstap.Message) bool

type SuffixFilter

type SuffixFilter struct {
	Suffix string
}

func NewSuffixFilter

func NewSuffixFilter(a string) *SuffixFilter

func (*SuffixFilter) Filter

func (p *SuffixFilter) Filter(m dnstap.Message) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL