Documentation ¶
Index ¶
- type Email
- type EmailService
- func (s *EmailService) SendCompletionMessage(request *models.VerifyRequest) error
- func (s *EmailService) SendFailedVerificationMessage(request *models.VerifyRequest) error
- func (s *EmailService) SendInitConfirmation(request *models.VerifyRequest) error
- func (s *EmailService) SendVerificationMessage(request *models.VerifyRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Email ¶
type Email interface { SendInitConfirmation(request *models.VerifyRequest) error SendVerificationMessage(request *models.VerifyRequest) error SendCompletionMessage(request *models.VerifyRequest) error SendFailedVerificationMessage(request *models.VerifyRequest) error }
type EmailService ¶
type EmailService struct { SMTPServer string Port int Username string Password string From string Messages config.Messages Enabled bool }
func (*EmailService) SendCompletionMessage ¶
func (s *EmailService) SendCompletionMessage(request *models.VerifyRequest) error
func (*EmailService) SendFailedVerificationMessage ¶
func (s *EmailService) SendFailedVerificationMessage(request *models.VerifyRequest) error
func (*EmailService) SendInitConfirmation ¶
func (s *EmailService) SendInitConfirmation(request *models.VerifyRequest) error
func (*EmailService) SendVerificationMessage ¶
func (s *EmailService) SendVerificationMessage(request *models.VerifyRequest) error
Click to show internal directories.
Click to hide internal directories.