worker

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventWorker

type EventWorker struct {
	// contains filtered or unexported fields
}

EventWorker processes events from the queue using handlers

func NewEventWorker

func NewEventWorker(
	reg *registry.Registry,
	notif *notifier.Notifier,
	healthCheck *notifier.HealthChecker,
	dualStore *storage.DualStore,
) *EventWorker

NewEventWorker creates a new event worker

func (*EventWorker) RegisterHandlers

func (w *EventWorker) RegisterHandlers(queue eventqueue.IEventQueue)

RegisterHandlers registers all event handlers to the queue

Jump to

Keyboard shortcuts

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