Documentation
¶
Overview ¶
Package event. event provides a strongly-typed event bus system for decoupling core logic from side effects.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
Type EventType // Strongly-typed event identifier
Timestamp time.Time // When the event occurred
Data any // Event-specific payload
Metadata map[string]any // Additional context (e.g., request ID, user agent)
}
Event represents a generic event that flows through the system.
Click to show internal directories.
Click to hide internal directories.