memory

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBus

func NewBus(middlewares ...MiddlewareFunc) bus.Bus

Creates a new in memory bus which will call the handlers in process.

func NewSchedulerAdapter

func NewSchedulerAdapter() bus.SchedulerAdapter

Builds a new inmemory scheduler adapter which will store all scheduled jobs in memory. It will not make use of dedupe names and should be used only for testing purposes.

Types

type MiddlewareFunc

type MiddlewareFunc func(bus.NextFunc) bus.NextFunc

Middleware function used to add behavior to the dispatch process.

Jump to

Keyboard shortcuts

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