stateless_mock

package
v0.2.13 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InputTopic       = flow.GenericTopic("input", format.Gengar(), format.Gengar())
	OutputTopic      = flow.GenericTopic("output", format.Gengar(), format.Gengar())
	EmptyTopic       = flow.GenericTopic("", format.Gengar(), format.Gengar())
	ErrMock          = errors.New("mock")
	ErrRecoverable   = errors.New("recoverable")
	ErrIrrecoverable = errors.New("irrrecoverable")
)

Functions

func MockOneToOne

func MockOneToOne(ctx context.Context, m flow.Message[string, string]) (*flow.Message[string, string], error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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