filters

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: CC0-1.0 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() (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