Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewEmailService)
Functions ¶
This section is empty.
Types ¶
type EmailService ¶
type EmailService struct {
// contains filtered or unexported fields
}
func NewEmailService ¶
func NewEmailService(cfg config.EmailConfig, logger *zap.Logger) *EmailService
func (*EmailService) SendPasswordReset ¶
func (s *EmailService) SendPasswordReset(email, token string) error
func (*EmailService) SendVerificationOTP ¶
func (s *EmailService) SendVerificationOTP(email, otp string) error
SendVerificationOTP is used both for signup verification and resends.
func (*EmailService) SendWelcomeEmail ¶
func (s *EmailService) SendWelcomeEmail(email, name string) error
Click to show internal directories.
Click to hide internal directories.