Help us shape the future of Go! Take the 2026 Go Developer Survey

filter

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package filter evaluates a destination's routing filter against an event.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Matches

func Matches(spec *core.FilterSpec, e core.Event) bool

Matches reports whether the event satisfies every clause in the spec. A nil or empty spec matches all events. Body clauses require the body to parse as a JSON object; a non-JSON body fails any body clause.

Types

This section is empty.

Jump to

Keyboard shortcuts

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