pool

package
v0.0.13 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventPool

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

func (*EventPool) Enqueue

func (e *EventPool) Enqueue(event *models.Event) error

Takes validated event models and enqueues them into the pool

func (*EventPool) Initialize

func (e *EventPool) Initialize(factory factory.EventPoolWorkerFactory, ctx context.Context) error

func (*EventPool) PublishEvents

func (e *EventPool) PublishEvents()

type EventPooler

type EventPooler interface {
	Enqueue(event *models.Event) error
	PublishEvents()
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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