Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseEvent ¶
type BaseEvent struct {
// contains filtered or unexported fields
}
func NewBaseEvent ¶
func (BaseEvent) AggregateID ¶
func (BaseEvent) OccurredOn ¶
type Bus ¶
type Bus interface { // Publish is the method used to publish new events. Publish(context.Context, []Event) error // Subscribe is the method used to subscribe new event handlers. Subscribe(Type, Handler) }
Bus defines the expected behaviour from an event bus.
Click to show internal directories.
Click to hide internal directories.