Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorHandler ¶
type ErrorHandler struct{}
func (*ErrorHandler) HandleError ¶
func (*ErrorHandler) HandleError(ctx context.Context, job *rivertype.JobRow, err error) *river.ErrorHandlerResult
func (*ErrorHandler) HandlePanic ¶
func (*ErrorHandler) HandlePanic(ctx context.Context, job *rivertype.JobRow, panicVal any, trace string) *river.ErrorHandlerResult
type ExecScriptWorker ¶
type ExecScriptWorker struct {
// An embedded WorkerDefaults sets up default methods to fulfill the rest of
// the Worker interface:
river.WorkerDefaults[Rule]
}
type LogHook ¶
type LogHook struct {
river.HookDefaults
}
func (*LogHook) InsertBegin ¶
Click to show internal directories.
Click to hide internal directories.