Documentation
¶
Overview ¶
Package events provides a lightweight in-process event bus for publishing domain events between modules. For cross-process events, replace this with a message queue adapter (e.g. Redis Streams, NATS, or Kafka).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bus ¶
type Bus struct {
// contains filtered or unexported fields
}
Bus dispatches events to registered handlers.
Click to show internal directories.
Click to hide internal directories.