Documentation ¶
Overview ¶
Package email implements periodic email sending.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func New ¶
func New(cfg *config.EmailerConfig, db *database.Database, h *render.Renderer) *Controller
func (*Controller) HandleAnomalies ¶
func (c *Controller) HandleAnomalies() http.Handler
HandleAnomalies handles a request to send emails about code ratio anomalies.
func (*Controller) HandleSMSErrors ¶
func (c *Controller) HandleSMSErrors() http.Handler
HandleSMSErrors handles a request to send emails about code ratio anomalies.
Click to show internal directories.
Click to hide internal directories.