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
Click to show internal directories.
Click to hide internal directories.