Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventDispatcher ¶
EventDispatcher interface must be implemented by Queue
type RabbitMQEventDispatcher ¶
type RabbitMQEventDispatcher struct {
// contains filtered or unexported fields
}
RabbitMQEventDispatcher is an event dispatcher that sends event to the RabbitMQ Exchange
func NewRabbitMQEventDispatcher ¶
func NewRabbitMQEventDispatcher(logger *log.Logger) *RabbitMQEventDispatcher
NewRabbitMQEventDispatcher create and returns a new RabbitMQEventDispatcher
func (*RabbitMQEventDispatcher) DispatchEvent ¶
func (eventDispatcher *RabbitMQEventDispatcher) DispatchEvent(token string, topic string, payload interface{})
DispatchEvent dispatches events to the message queue
Click to show internal directories.
Click to hide internal directories.