Skip to main content
Version: v1.37.1

Slack Notifier

The Slack notifier allows you to get notification on your favorite slack channel when an instance of go-feature-flag is detecting changes in the configuration file.

Configure Slack Notification

  1. First, you need to create an incoming webhook on your slack instance.
    You can follow this documentation to see how to do it
  2. Copy your webhook URL.
    It should look like: https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX.
  3. In your init method add a slack notifier
ffclient.Config{ 
// ...
Notifiers: []notifier.Notifier{
&slacknotifier.Notifier{
SlackWebhookURL: "https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX",
},
// ...
},
}

Configuration fields

FieldDescription
SlackWebhookURLThe complete URL of your incoming webhook configured in Slack.

Get the latest GO Feature Flag updates