notifiers

package
Version: v1.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2016 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package notifiers implements several kinds of notifier.Notifier

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebhookNotifier

type WebhookNotifier struct {
	// contains filtered or unexported fields
}

A WebhookNotifier dispatches notifications to a webhook endpoint.

func (*WebhookNotifier) Configure

func (h *WebhookNotifier) Configure(config *config.NotifierConfig) (bool, error)

func (*WebhookNotifier) Send

type WebhookNotifierConfiguration

type WebhookNotifierConfiguration struct {
	Endpoint   string
	ServerName string
	CertFile   string
	KeyFile    string
	CAFile     string
	Proxy      string
}

A WebhookNotifierConfiguration represents the configuration of a WebhookNotifier.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL