notifiers

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL