Documentation ¶
Index ¶
- func GenerateVerificationCode() (string, error)
- type MailService
- func (s *MailService) SendDepositNotification(toEmail string, amount string) error
- func (s *MailService) SendEmail(to, subject, body string) error
- func (s *MailService) SendLoginEmail(to, code string) error
- func (s *MailService) SendTransferNotification(fromEmail, toEmail string, amount string) error
- func (s *MailService) SendVerificationEmail(to, code string) error
- func (s *MailService) SendWithdrawalNotification(toEmail string, amount string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MailService ¶
type MailService struct {
// contains filtered or unexported fields
}
func NewMailService ¶
func NewMailService() *MailService
func (*MailService) SendDepositNotification ¶
func (s *MailService) SendDepositNotification(toEmail string, amount string) error
func (*MailService) SendEmail ¶
func (s *MailService) SendEmail(to, subject, body string) error
func (*MailService) SendLoginEmail ¶
func (s *MailService) SendLoginEmail(to, code string) error
func (*MailService) SendTransferNotification ¶
func (s *MailService) SendTransferNotification(fromEmail, toEmail string, amount string) error
func (*MailService) SendVerificationEmail ¶
func (s *MailService) SendVerificationEmail(to, code string) error
func (*MailService) SendWithdrawalNotification ¶
func (s *MailService) SendWithdrawalNotification(toEmail string, amount string) error
Click to show internal directories.
Click to hide internal directories.