Versions in this module Expand all Collapse all v1 v1.0.0 Mar 25, 2026 Changes in this version + func FormatEvent(e *Event) string + type Event struct + Data any + ID string + Protocol string + Timestamp time.Time + Type EventType + type EventBus struct + func NewEventBus() *EventBus + func (eb *EventBus) AddWebhook(wh Webhook) + func (eb *EventBus) Publish(e *Event) + func (eb *EventBus) Replay(filter *FilterRule) []*Event + func (eb *EventBus) Subscribe(id string) chan *Event + func (eb *EventBus) Unsubscribe(id string) + type EventType string + const EventDecodeError + const EventProtocolChanged + const EventValidation + type FilterRule struct + Protocols []string + Types []EventType + func (f *FilterRule) Match(e *Event) bool + type Webhook struct + Filter FilterRule + URL string