notify

package
v0.0.0-...-f0644f1 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TEMPLATE_NAME = "notification.gohtml"
	SERVICE_URL   = "http://whatsapptistics.com"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EmailNotifier

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

func NewNotifier

func NewNotifier(notifier Notifier) *EmailNotifier

func (*EmailNotifier) Notify

func (n *EmailNotifier) Notify(reportID string, email string) error

type Notifier

type Notifier interface {
	Notify(message string, email string) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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