Tiny, in-memory publish/subscribe event bus for Go with support for:
- Sync & async handlers
- One-time (
Once) subscribers - Transactional async execution
- Retained messages (replayed to new subscribers)
- Safe concurrent publishing
WaitAsync()for graceful shutdown
Perfect for small services and event-driven components without needing external brokers.
go get github.com/ilij4/pubsub