Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventApplyer ¶
EventApplyer To make to event
type EventBus ¶
type EventBus struct {
// contains filtered or unexported fields
}
EventBus Contains handlers
func (EventBus) AddHandler ¶
func (eventBus EventBus) AddHandler(handler EventHandler, eventType string) error
AddHandler to bus
func (EventBus) GetEventsName ¶
GetEventName of registred event
type EventHandler ¶
EventHandler Allows to manage event
type EventImpl ¶
EventImpl Overrides Event
func NewEventImpl ¶
NewEventImpl Initialize an Event implementation
func (EventImpl) Payload ¶
func (event EventImpl) Payload() interface{}
Payload Returns event content
func (EventImpl) ShouldBeStored ¶
ShouldBeStored Returns bool to be abble to know if should be stored on DB
Click to show internal directories.
Click to hide internal directories.