filter

package
v0.0.0-...-0a64cdf Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Composite

type Composite struct {
	Childs []Filter
}

Composite is a filter that uses its childs filter

func (Composite) Match

func (f Composite) Match(p gopacket.Packet) (bool, error)

Match implements Filter interface

type Empty

type Empty struct{}

Empty is a filter that returns match

func (Empty) Match

func (f Empty) Match(p gopacket.Packet) (bool, error)

Match implements Filter interface

type Filter

type Filter interface {
	Match(p gopacket.Packet) (bool, error)
}

Filter interface is used for filters

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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