implprocessor

package
v0.15.5 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockProcessor

type MockProcessor struct {
	Success  map[string]bool
	CustomFn func() error
	// contains filtered or unexported fields
}

func New

func New(customFn func() error) *MockProcessor

func (*MockProcessor) BatchProcess

func (m *MockProcessor) BatchProcess(ctx context.Context, messages [][]byte) error

func (*MockProcessor) Process

func (m *MockProcessor) Process(ctx context.Context, message []byte) error

Jump to

Keyboard shortcuts

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