Documentation ¶
Index ¶
- Constants
- func GetSoftwareVersionChangedModel(ctx SoftwareVersionChangedContext) map[string]interface{}
- func QueueDisconnectedDeviceEmails()
- func SendSoftwareVersionChanged(ctx context.Context, emailAddress string, ...) error
- func SignUpForNewsletter(ctx context.Context, emailAddress string, requireOptIn bool) error
- func StartDaemon()
- type SoftwareVersionChangedContext
Constants ¶
View Source
const ( SendSoftwareVersionChangedTemplateID = 27132960 WeeklyReportTemplateID = 28522168 )
View Source
const DeviceDisconnectedTemplateID = int64(27137544)
Variables ¶
This section is empty.
Functions ¶
func GetSoftwareVersionChangedModel ¶
func GetSoftwareVersionChangedModel(ctx SoftwareVersionChangedContext) map[string]interface{}
func QueueDisconnectedDeviceEmails ¶
func QueueDisconnectedDeviceEmails()
QueueDisconnectedDeviceEmails queues emails for disconnected devices
func SendSoftwareVersionChanged ¶
func SendSoftwareVersionChanged(ctx context.Context, emailAddress string, mailContext SoftwareVersionChangedContext) error
func SignUpForNewsletter ¶
func StartDaemon ¶
func StartDaemon()
StartDaemon will watch for need-to-send emails and
handle delivery
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.