notify

package
v0.0.0-...-e4d5ac6 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2014 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DummyNotifier

type DummyNotifier struct {
	Config config.NotifyConfig
}

func (*DummyNotifier) Error

func (n *DummyNotifier) Error(message string) (err error)

func (*DummyNotifier) Info

func (n *DummyNotifier) Info(message string) (err error)

func (*DummyNotifier) Warning

func (n *DummyNotifier) Warning(message string) (err error)

type HipChatNotifier

type HipChatNotifier struct {
	Config config.NotifyConfig
	Client hipchat.Client
}

func (*HipChatNotifier) Error

func (n *HipChatNotifier) Error(message string) (err error)

func (*HipChatNotifier) Info

func (n *HipChatNotifier) Info(message string) (err error)

func (*HipChatNotifier) Message

func (n *HipChatNotifier) Message(message string, color string) (err error)

func (*HipChatNotifier) Warning

func (n *HipChatNotifier) Warning(message string) (err error)

type NotifierInterface

type NotifierInterface interface {
	Info(string) error
	Warning(string) error
	Error(string) error
}

func NewDummyNotifier

func NewDummyNotifier(notifyConfig config.NotifyConfig) (notify NotifierInterface)

func NewHipChatNotifier

func NewHipChatNotifier(notifyConfig config.NotifyConfig) (notifier NotifierInterface)

func NewNotifier

func NewNotifier(notifyConfig config.NotifyConfig) NotifierInterface

Jump to

Keyboard shortcuts

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