Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventBus ¶
type EventBus struct {
// contains filtered or unexported fields
}
EventBus ...
func NewEventBus ¶
NewEventBus ...
func (*EventBus) DeleteQueue ¶
DeleteQueue will delete a queue
func (*EventBus) PublishEvents ¶
func (bus *EventBus) PublishEvents(events []*goengine.DomainMessage) error
PublishEvents will publish events
func (*EventBus) ReceiveEvents ¶
func (bus *EventBus) ReceiveEvents(options goengine.VersionedEventReceiverOptions) error
ReceiveEvents will receive events
type RawVersionedEvent ¶
type RawVersionedEvent struct { ID string `bson:"aggregate_id,omitempty"` Version int `bson:"version"` Type string `bson:"type"` Payload json.RawMessage `bson:"payload"` RecordedOn time.Time `bson:"recorded_on"` }
RawVersionedEvent represents the event that goes into rabbitmq
Click to show internal directories.
Click to hide internal directories.