Skip to main content
Version: v1.30.0

Custom Notifier

To create a custom notifier you must have a struct that implements the notifier.Notifier interface.

In parameter you will receive a notifier.DiffCache struct that will tell you what has changed in your flag configuration.

import (
ffclient ""

type Notifier struct{}
func (c *Notifier) Notify(diff notifier.DiffCache) error {
// ...
// do whatever you want here

Get the latest GO Feature Flag updates