notify

package
v0.0.0-...-031edd7 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Conf *config.Config
)

Functions

func Push

func Push(header *event.Header, payload *event.Payload)

Types

type Mail

type Mail struct{}

func (*Mail) Send

func (mail *Mail) Send(message event.Message) error

type Notifiable

type Notifiable interface {
	Send(event.Message) error
}

type Slack

type Slack struct{}

func (*Slack) Send

func (slack *Slack) Send(message event.Message) error

type WebHook

type WebHook struct{}

func (*WebHook) Send

func (hook *WebHook) Send(message event.Message) error

Jump to

Keyboard shortcuts

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