package
1.1.1
Repository: https://github.com/jjxxs/gopher-tools.git
Documentation: pkg.go.dev

# Functions

GetBus - Provides thread-safe access to a Bus singleton.
GetNamedBus - Provides thread-safe access to a Bus singleton with a given name.
GetNamedWorkerBus - Provides thread-safe access to a WorkerBus singleton with a specified name.
GetWorkerBus - Provides thread-safe access to a WorkerBus singleton.
NewBus creates a simple Bus.
No description provided by the author

# Variables

WorkerBusSingletonQueueSize - Size of the queue used by the WorkerBus singletons.

# Interfaces

A Bus provides an implementation of a loosely-coupled publish-subscriber pattern.
A WorkerBus uses a queue to buffer message that are passed via Bus.Publish.

# Type aliases

A Subscriber is called with messages that are published on the Bus.