filter

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageFilter

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

func NewMessageFilter

func NewMessageFilter(cfg *config.Config) *MessageFilter

func (*MessageFilter) Filter

func (f *MessageFilter) Filter(msg *amqp.Delivery) bool

func (*MessageFilter) GetCompilationErrors

func (f *MessageFilter) GetCompilationErrors() []error

GetCompilationErrors returns any errors encountered during pattern compilation

Jump to

Keyboard shortcuts

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