Help us shape the future of Go! Take the 2026 Go Developer Survey

notify

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Env variables name about EmailNotifier.
	// SMTP_SERVER is the env name for SMTP_SERVER.
	SMTP_SERVER = "SMTP_SERVER"
	// SMTP_PORT is the env name for SMTP_PORT.
	SMTP_PORT = "SMTP_PORT"
	// SMTP_USERNAME is the env name for SMTP_USERNAME.
	SMTP_USERNAME = "SMTP_USERNAME"
	// SMTP_PASSWORD is the env name for SMTP_PASSWORD.
	SMTP_PASSWORD = "SMTP_PASSWORD"
)

Variables

This section is empty.

Functions

func Notify

func Notify(service *api.Service, version *api.Version, versionLog string)

Notify sends email to user.

Types

type Manager

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

Manager is an asynchronous event manager which records incoming events, dispatches events with bookkeeping.

type Notifier

type Notifier interface {
	Notify(service *api.Service)
}

Notifier defines the interface of the email or SMS sender.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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