GoEvent is a simple implementation of eventing toolkit for Go
NOTE: GoEvent is used in production systems but the API is not final!
GoEvent defines a set of interfaces to work with events which can be published and handled over a Event Bus.
It also define a local and a Google PubSub gpubsub event bus
Inspired by the following libraries/examples:
Suggestions are welcome!
See the example folder for a few examples to get you started.
These are the drivers for messaging, currently only publishers.
Fully synchrounos. Useful for testing/experimentation.
Experimental driver.
To develop GoEvent you need to have Docker and Docker Compose installed.
To start all needed services and run all tests, simply run make:
make
To manually run the services and stop them:
make services
make stop
When the services are running testing can be done either locally or with Docker:
make test
make test_docker
go test ./...
The difference between make test
and go test ./...
is that make test
also prints coverage info.
- Check out the contribution guidelines
GoEvent licensed under Apache License 2.0