worker

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventPoolWorker

type EventPoolWorker interface {
	SetUp()
	Shutdown()
	IsActive() bool
	OnEvent(event *models.Event)
}

type LoggingEventPoolWorker

type LoggingEventPoolWorker struct {
}

func (*LoggingEventPoolWorker) IsActive

func (worker *LoggingEventPoolWorker) IsActive() bool

func (*LoggingEventPoolWorker) OnEvent

func (worker *LoggingEventPoolWorker) OnEvent(event *models.Event)

func (*LoggingEventPoolWorker) SetUp

func (worker *LoggingEventPoolWorker) SetUp()

func (*LoggingEventPoolWorker) Shutdown

func (worker *LoggingEventPoolWorker) Shutdown()

type RabbitMqEventPoolWorker

type RabbitMqEventPoolWorker struct {
	Endpoint string
	// contains filtered or unexported fields
}

func (*RabbitMqEventPoolWorker) IsActive

func (w *RabbitMqEventPoolWorker) IsActive() bool

func (*RabbitMqEventPoolWorker) OnEvent

func (w *RabbitMqEventPoolWorker) OnEvent(event *models.Event)

func (*RabbitMqEventPoolWorker) SetUp

func (w *RabbitMqEventPoolWorker) SetUp()

func (*RabbitMqEventPoolWorker) Shutdown

func (w *RabbitMqEventPoolWorker) Shutdown()

Jump to

Keyboard shortcuts

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