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.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package batch.
|
Package batch. |
|
Package bus.
|
Package bus. |
|
Package errors provides standard error types for the Gossip event system.
|
Package errors provides standard error types for the Gossip event system. |
|
Package filter.
|
Package filter. |
|
Package middleware.
|
Package middleware. |
|
Package sub.
|
Package sub. |
Click to show internal directories.
Click to hide internal directories.