Documentation ¶ Index ¶ type LogNotifier func (c *LogNotifier) Notify(diff model.DiffCache, wg *sync.WaitGroup) type Notifier type WebhookNotifier func (c *WebhookNotifier) Notify(diff model.DiffCache, wg *sync.WaitGroup) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type LogNotifier ¶ type LogNotifier struct { Logger *log.Logger } func (*LogNotifier) Notify ¶ func (c *LogNotifier) Notify(diff model.DiffCache, wg *sync.WaitGroup) type Notifier ¶ type Notifier interface { Notify(cache model.DiffCache, waitGroup *sync.WaitGroup) } type WebhookNotifier ¶ type WebhookNotifier struct { Logger *log.Logger HTTPClient internal.HTTPClient PayloadURL url.URL Secret string Meta map[string]string } func (*WebhookNotifier) Notify ¶ func (c *WebhookNotifier) Notify(diff model.DiffCache, wg *sync.WaitGroup) Source Files ¶ View all Source files notifier.go notifier_log.go notifier_webhook.go Click to show internal directories. Click to hide internal directories.