msg_matcher

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: GPL-3.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AAAAAIPMatcher

type AAAAAIPMatcher struct {
	// contains filtered or unexported fields
}

func NewAAAAAIPMatcher

func NewAAAAAIPMatcher(ipMatcher netlist.Matcher) *AAAAAIPMatcher

func (*AAAAAIPMatcher) Match

func (m *AAAAAIPMatcher) Match(_ context.Context, qCtx *handler.Context) (matched bool, _ error)

type CNameMatcher

type CNameMatcher struct {
	// contains filtered or unexported fields
}

func NewCNameMatcher

func NewCNameMatcher(domainMatcher domain.Matcher) *CNameMatcher

func (*CNameMatcher) Match

func (m *CNameMatcher) Match(_ context.Context, qCtx *handler.Context) (matched bool, _ error)

type ClientIPMatcher

type ClientIPMatcher struct {
	// contains filtered or unexported fields
}

func NewClientIPMatcher

func NewClientIPMatcher(ipMatcher netlist.Matcher) *ClientIPMatcher

func (*ClientIPMatcher) Match

func (m *ClientIPMatcher) Match(_ context.Context, qCtx *handler.Context) (matched bool, err error)

type QClassMatcher

type QClassMatcher struct {
	// contains filtered or unexported fields
}

func NewQClassMatcher

func NewQClassMatcher(elemMatcher *elem.IntMatcher) *QClassMatcher

func (*QClassMatcher) Match

func (m *QClassMatcher) Match(_ context.Context, qCtx *handler.Context) (matched bool, _ error)

type QNameMatcher

type QNameMatcher struct {
	// contains filtered or unexported fields
}

func NewQNameMatcher

func NewQNameMatcher(domainMatcher domain.Matcher) *QNameMatcher

func (*QNameMatcher) Match

func (m *QNameMatcher) Match(_ context.Context, qCtx *handler.Context) (matched bool, _ error)

type QTypeMatcher

type QTypeMatcher struct {
	// contains filtered or unexported fields
}

func NewQTypeMatcher

func NewQTypeMatcher(elemMatcher *elem.IntMatcher) *QTypeMatcher

func (*QTypeMatcher) Match

func (m *QTypeMatcher) Match(_ context.Context, qCtx *handler.Context) (matched bool, _ error)

type RCodeMatcher

type RCodeMatcher struct {
	// contains filtered or unexported fields
}

func NewRCodeMatcher

func NewRCodeMatcher(elemMatcher *elem.IntMatcher) *RCodeMatcher

func (*RCodeMatcher) Match

func (m *RCodeMatcher) Match(_ context.Context, qCtx *handler.Context) (matched bool, _ error)

Jump to

Keyboard shortcuts

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