broker
allows to register Listener
s to listen for events. A broker
broadcast an event to all Listener
s, 1:N. Broker's goal isn't to broadcast events cross-services, for this case use NATS, Redis, and etc. Goal is to propagate an event - a change, internally and react to it.
$ go get github.com/thalesfsp/broker
Example: $ go get github.com/thalesfsp/broker@v1.2.3
See example_test.go
file.
Run $ make doc
or check out online.
Check out CONTRIBUTION.
- Update CHANGELOG accordingly.
- Once changes from MR are merged.
- Tag and release.
Check out CHANGELOG.