This microservice is written in Go. To run tests, first get all dependencies.

cd notifier/notifier
go get

Then, run Ginkgo tests.

cd notifier/tests

Writing Your Own Notification Sender

First, look at built-in senders:

  • notifier/slack
  • notifier/pushover
  • notifier/mail

All of them implement interface Sender from interfaces.go. Please, note that scheduling and throttling require senders to support packing several events into one message.

You should include your new sender in configureSenders method of notifier/main.go with appropriate type.

Senders have access to their settings in common config, which is passed to the Init method.