controller

package
v0.0.0-...-df2fae3 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Commit current build commit set by build script
	Commit = "0"
	// BuildTime set by build script in ISO 8601 (UTC) format: YYYY-MM-DDThh:mm:ssTZD (see https://www.w3.org/TR/NOTE-datetime for details)
	BuildTime = "0"
	// StartTime in ISO 8601 (UTC) format
	StartTime = time.Now().UTC().Format("2006-01-02T15:04:05Z")
)

Functions

This section is empty.

Types

type NotifyController

type NotifyController struct {
	*goa.Controller
	CollectorRegistry collector.Registry
	TemplateRegistry  template.Registry
	Notifier          email.Notifier
}

NotifyController implements the notify resource.

func NewNotifyController

func NewNotifyController(service *goa.Service, cRegistry collector.Registry, tRegistry template.Registry, notifier email.Notifier) *NotifyController

NewNotifyController creates a notify controller.

func (*NotifyController) Send

Send runs the send action.

type StatusController

type StatusController struct {
	*goa.Controller
}

StatusController implements the status resource.

func NewStatusController

func NewStatusController(service *goa.Service) *StatusController

NewStatusController creates a status controller.

func (*StatusController) Show

Show runs the show action.

Jump to

Keyboard shortcuts

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