filter

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SessionAliasKey = "session_alias"
	MessageTypeKey  = "message_type"
	DirectionKey    = "direction"
	ProtocolKey     = "protocol"
)

Variables

This section is empty.

Functions

func FirstIDFromMsgBatch

func FirstIDFromMsgBatch(batch *p_buff.MessageGroupBatch) *p_buff.MessageID

func FirstIDFromMsgGroup

func FirstIDFromMsgGroup(group *p_buff.MessageGroup) *p_buff.MessageID

func IDFromAnyMsg

func IDFromAnyMsg(msg *p_buff.AnyMessage) *p_buff.MessageID

Types

type Strategy

type Strategy interface {
	Verify(messages *p_buff.MessageGroupBatch, filters []mqFilter.FilterConfiguration) bool
}
var Default Strategy = defaultFilterStrategy{/* contains filtered or unexported fields */}

Jump to

Keyboard shortcuts

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