eda

package
v2.6.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Channel string
	Key     string
	Data    interface{}
}

type EventDispatcherInterface added in v2.5.1

type EventDispatcherInterface interface {
	SendEvent(event Event)
}

type InMemoryBroker

type InMemoryBroker struct {
}

func NewEdaInMemory

func NewEdaInMemory() *InMemoryBroker

func (*InMemoryBroker) SendEvent

func (b *InMemoryBroker) SendEvent(event Event)

type RabbitMQBroker

type RabbitMQBroker struct {
}

func NewEdaRabbitmq

func NewEdaRabbitmq() *RabbitMQBroker

func (*RabbitMQBroker) SendEvent

func (b *RabbitMQBroker) SendEvent(event Event)

Jump to

Keyboard shortcuts

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