Versions in this module Expand all Collapse all v1 v1.0.1 May 11, 2025 Changes in this version + type SMSSender interface + SendBulkSMS func(message string, to []string) error + SendSMS func(message string, to []string) error + func NewSNSSender(region string, senderPhoneNumber string) SMSSender + func NewTwilioSender(accountSID string, authToken string, senderPhoneNumber string) SMSSender + type SNSSender struct + Region string + SenderPhoneNumber string + func (s *SNSSender) SendBulkSMS(message string, to []string) error + func (s *SNSSender) SendSMS(message string, to []string) error + type TwilioSender struct + AccountSID string + AuthToken string + SenderPhoneNumber string + func (t *TwilioSender) SendBulkSMS(message string, to []string) error + func (t *TwilioSender) SendSMS(message string, to []string) error v1.0.0 Nov 28, 2024 Changes in this version + type EmailSender interface + SendMail func(subject string, content string, to []string, cc []string, bcc []string, ...) error + func NewSESSender(region string, senderEmail string) EmailSender + func NewSendGridSender(apiKey string, appName string, appEmail string) EmailSender + type SESSender struct + Region string + SenderEmail string + func (s *SESSender) SendMail(subject string, content string, to []string, cc []string, bcc []string, ...) error + type SendGridSender struct + APIKey string + AppEmail string + AppName string + func (s *SendGridSender) SendMail(subject string, content string, to []string, cc []string, bcc []string, ...) error