messaging

package
v0.0.0-...-2215086 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventBus

type EventBus interface {
	// PublishScrapingComplete emits a "scraping complete" message for the given provider
	PublishScrapingComplete(provider string)

	// SubscribeScrapingComplete
	SubscribeScrapingComplete(provider string, callback interface{})
}

func NewDefaultEventBus

func NewDefaultEventBus(_ emperror.ErrorHandler) EventBus

NewDefaultEventBus creates an event bus backed by https://github.com/asaskevich/EventBus

Jump to

Keyboard shortcuts

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