email_service

package
v0.0.0-...-c497fbf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2026 License: MIT Imports: 8 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL