Documentation
¶
Overview ¶
Package bus is a lightweight publish-subscribe message bus. It decouples components by letting them communicate through typed topics instead of direct method calls. Thread-safe; zero allocations on the publish path when there are no subscribers for a topic.
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
}
func (*Bus) SubscriberCount ¶
Click to show internal directories.
Click to hide internal directories.