filters

package
v1.2.22 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type B

type B = []byte

type Ctx

type Ctx = context.T

type E

type E = error

type N

type N = int

type S

type S = string

type T

type T struct {
	F []*filter.T
}

func GenFilters

func GenFilters(n int) (ff *T, err error)

func Make

func Make(l int) *T

func New

func New(ff ...*filter.T) (f *T)

func (*T) GetFingerprints

func (f *T) GetFingerprints() (fps []uint64, err E)

func (*T) Len

func (f *T) Len() int

func (*T) MarshalJSON

func (f *T) MarshalJSON(dst B) (b B, err error)

func (*T) Match

func (f *T) Match(event *event.T) bool

func (*T) String

func (f *T) String() (s S)

func (*T) UnmarshalJSON

func (f *T) UnmarshalJSON(b B) (r B, err error)

Jump to

Keyboard shortcuts

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