notifiers

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNotifier

type MockNotifier struct {
	mock.Mock
}

func (*MockNotifier) Name

func (_m *MockNotifier) Name() string

Name provides a mock function with given fields:

func (*MockNotifier) Notify

func (_m *MockNotifier) Notify(check checks.AppCheck)

Notify provides a mock function with given fields: check

type Notifier

type Notifier interface {
	Notify(check checks.AppCheck)
	Name() string
}

type Slack

type Slack struct {
	Webhook string
	Channel string
	Owners  string
}

func (*Slack) Name

func (s *Slack) Name() string

func (*Slack) Notify

func (s *Slack) Notify(check checks.AppCheck)

Jump to

Keyboard shortcuts

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