Versions in this module Expand all Collapse all v0 v0.1.1 Nov 26, 2024 v0.1.0 Nov 25, 2024 Changes in this version + type Event struct + Data interface{} + Metadata map[string]string + Subject string + type EventDispatcher struct + func NewEventDispatcher(ctx context.Context) *EventDispatcher + func (ed *EventDispatcher) Publish(subject string, data interface{}) + func (ed *EventDispatcher) Subscribe(subject string) (<-chan Event, func())