Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogNotifier ¶
func (*LogNotifier) Notify ¶
func (c *LogNotifier) Notify(diff ffnotifier.DiffCache, wg *sync.WaitGroup)
type SlackNotifier ¶ added in v0.9.0
func NewSlackNotifier ¶ added in v0.9.0
func NewSlackNotifier(logger *log.Logger, httpClient internal.HTTPClient, webhookURL string) SlackNotifier
func (*SlackNotifier) Notify ¶ added in v0.9.0
func (c *SlackNotifier) Notify(diff ffnotifier.DiffCache, wg *sync.WaitGroup)
type WebhookNotifier ¶
type WebhookNotifier struct { Logger *log.Logger HTTPClient internal.HTTPClient EndpointURL url.URL Secret string Meta map[string]string }
func NewWebhookNotifier ¶ added in v0.9.0
func NewWebhookNotifier(logger *log.Logger, httpClient internal.HTTPClient, endpointURL string, secret string, meta map[string]string, ) (WebhookNotifier, error)
func (*WebhookNotifier) Notify ¶
func (c *WebhookNotifier) Notify(diff ffnotifier.DiffCache, wg *sync.WaitGroup)
Click to show internal directories.
Click to hide internal directories.