eventbus

package
v0.0.0-...-1a32655 Latest Latest
Warning

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

Go to latest
Published: May 31, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeEventHandlerFunc

func MakeEventHandlerFunc(h EventHandlerFunc) nsq.HandlerFunc

Types

type Dispatcher

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

func NewEventDispatcher

func NewEventDispatcher(p *nsq.Producer) *Dispatcher

func (*Dispatcher) Dispatch

func (d *Dispatcher) Dispatch(events ...common.IDomainEvent) error

type EventHandlerFunc

type EventHandlerFunc func(eventhandler.IEventMessage) error

Jump to

Keyboard shortcuts

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