Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextKeyInsideTestWorker ¶
type ContextKeyInsideTestWorker struct{}
ContextKeyInsideTestWorker is an internal context key that indicates whether the worker is running inside a [rivertest.Worker].
type Func ¶
func MiddlewareChain ¶
func MiddlewareChain(globalMiddleware []rivertype.Middleware, workerMiddleware []rivertype.WorkerMiddleware, doInner Func, jobRow *rivertype.JobRow) Func
MiddlewareChain chains together the given middleware functions, returning a single function that applies them all in reverse order.
Click to show internal directories.
Click to hide internal directories.