filter

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2026 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 AdvancedFilter added in v0.1.5

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

AdvancedFilter ANDs multiple terms together.

func Compile added in v0.1.5

func Compile(input string) *AdvancedFilter

Compile parses a filter expression into an AdvancedFilter. Returns nil for empty input (matches all).

func (*AdvancedFilter) Match added in v0.1.5

func (f *AdvancedFilter) Match(flow *store.FlowMeta) bool

type QuickFilter

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

QuickFilter matches flows by case-insensitive substring on host+path.

func CompileQuick

func CompileQuick(input string) *QuickFilter

CompileQuick creates a QuickFilter from user input. An empty input returns nil (matches all).

func (*QuickFilter) Match

func (f *QuickFilter) Match(flow *store.FlowMeta) bool

Jump to

Keyboard shortcuts

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