Versions in this module Expand all Collapse all v0 v0.0.3 May 8, 2019 Changes in this version + type Action func(interface{}) error + type Actions = []Action + type DefaultBus struct + func (t *DefaultBus) Emit(evt Event) + func (t *DefaultBus) Off(id EventID) + func (t *DefaultBus) On(evtName EventName, act Action) EventID + type Event struct + Name EventName + Payload interface{} + type EventBus interface + Emit func(Event) + Off func(EventID) + On func(EventName, Action) EventID + type EventID = string + type EventName = string