Skip to content

thalesfsp/broker

Repository files navigation

broker

broker allows to register Listeners to listen for events. A broker broadcast an event to all Listeners, 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.

Install

$ go get github.com/thalesfsp/broker

Specific version

Example: $ go get github.com/thalesfsp/broker@v1.2.3

Usage

See example_test.go file.

Documentation

Run $ make doc or check out online.

Development

Check out CONTRIBUTION.

Release

  1. Update CHANGELOG accordingly.
  2. Once changes from MR are merged.
  3. Tag and release.

Roadmap

Check out CHANGELOG.