hooks

package
v2.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: Apache-2.0 Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilterMessageContext

type FilterMessageContext struct {
	ConsumerGroup string
	Msg           []*primitive.MessageExt
	MQ            *primitive.MessageQueue
	Arg           interface{}
	UnitMode      bool
}

type FilterMessageHook

type FilterMessageHook func(ctx *FilterMessageContext) ([]*primitive.MessageExt, error)

Jump to

Keyboard shortcuts

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