Versions in this module Expand all Collapse all v0 v0.0.2 Dec 17, 2021 v0.0.1 Dec 7, 2021 Changes in this version + type EventBus struct + func EventBusInstance() *EventBus + func (e *EventBus) AddSubscribers(p Publisher, s ...Subscriber) + func (e *EventBus) DeleteSubscriber(p Publisher, s Subscriber) + func (e *EventBus) EventHandles() map[Publisher][]Subscriber + func (e *EventBus) Publish(p Publisher, data interface{}) + type Publisher interface + type Subscriber interface + Notice func(data interface{})