handlers

package
v0.0.0-...-34ec42c Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package handlers contains different types of handlers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventHandler

type EventHandler[T any] interface {
	// Handle handles the given event
	Handle(context.Context, *T) error
}

EventHandler is an event/task handler that can be used by an event or task handler to handle a given event

Directories

Path Synopsis
Package eventhandlers contains event handlers
Package eventhandlers contains event handlers
Package taskhandlers contain handlers for tasks
Package taskhandlers contain handlers for tasks

Jump to

Keyboard shortcuts

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