matcher

package
v0.3.0-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventMatcher

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

func New

func New() *EventMatcher

func (*EventMatcher) AddRoutes

func (m *EventMatcher) AddRoutes(routes []*core.Route) error

func (*EventMatcher) IsEmpty

func (m *EventMatcher) IsEmpty() bool

func (*EventMatcher) Match

func (m *EventMatcher) Match(evt *core.Event) (*core.Route, bool)

Jump to

Keyboard shortcuts

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