events

package
v2.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitWatermillProvider

func InitWatermillProvider(config *models.EventBusConfig, logger watermill.LoggerAdapter) (models.PubSub, error)

InitWatermillProvider initializes a Watermill PubSub based on the provider config

func NewEventBus

func NewEventBus(config *models.Config, logger watermill.LoggerAdapter, ps models.PubSub) models.EventBus

func NewWatermillPubSub

func NewWatermillPubSub(publisher message.Publisher, subscriber message.Subscriber) models.PubSub

NewWatermillPubSub creates a PubSub adapter for Watermill transports. Users can pass any Watermill-compatible publisher and subscriber.

Types

This section is empty.

Jump to

Keyboard shortcuts

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