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 ¶
func (c *NotifyController) Send(ctx *app.SendNotifyContext) error
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 ¶
func (c *StatusController) Show(ctx *app.ShowStatusContext) error
Show runs the show action.
Click to show internal directories.
Click to hide internal directories.