Versions in this module Expand all Collapse all v1 v1.0.1 Nov 30, 2020 Changes in this version + type DynamicEventMapper struct + func (e *DynamicEventMapper) MapEvent(eventName string, serialized interface{}) (Event, error) + func (e *DynamicEventMapper) RegisterMapping(eventType reflect.Type) error + type Event interface + EventName func() string + type EventEmitter interface + Emit func(event Event) error + type EventListener interface + Listen func(events ...string) (<-chan Event, <-chan error, error) + Mapper func() EventMapper + type EventMapper interface + MapEvent func(string, interface{}) (Event, error) + func NewDynamicEventMapper() EventMapper + func NewEventMapper() EventMapper + type StaticEventMapper struct + func (e *StaticEventMapper) MapEvent(eventName string, serialized interface{}) (Event, error)