Documentation ¶ Overview ¶ Package filter evaluates a destination's routing filter against an event. Index ¶ func Matches(spec *core.FilterSpec, e core.Event) bool 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. Source Files ¶ View all Source files filter.go Click to show internal directories. Click to hide internal directories.