rabbitmqbus

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: May 22, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEventBus added in v0.2.0

func CreateEventBus(config RabbitMQConfig) (core.EventBus, error)

Types

type EventBus added in v0.2.0

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

func (EventBus) Publish added in v0.2.0

func (pub EventBus) Publish(message interface{}) error

func (EventBus) Subscribe added in v0.2.0

func (bus EventBus) Subscribe(event reflect.Type, eventHandler core.EventHandler, retryOptions *core.RetryOptions) error

type RabbitMQConfig added in v0.2.0

type RabbitMQConfig struct {
	Uri string
}

Jump to

Keyboard shortcuts

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