Documentation ¶
Index ¶
- func GetUUIDDateValues(log *zap.Logger) ([]byte, string, *timestamp.Timestamp, *timestamp.Timestamp, string, string, ...)
- func LoadSQL(log *zap.Logger, dbService *common.DBService) error
- type MailerServiceTest
- func (mailerService *MailerServiceTest) SendChangeMail(hostURL string, userEmail string, newEmail string, resetToken string, ...) error
- func (mailerService *MailerServiceTest) SendConfirmationMail(hostURL string, userEmail string, emailConfirmationToken string, ...) error
- func (mailerService *MailerServiceTest) SendMail(msg common.Email) error
- func (mailerService *MailerServiceTest) SendResetPasswordMail(hostURL string, userEmail string, resetToken string, requestID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MailerServiceTest ¶
type MailerServiceTest struct{}
MailerServiceTest Pointer to mailer
func CreateMailerServiceTest ¶
func CreateMailerServiceTest(log *zap.Logger) (*MailerServiceTest, error)
CreateMailerServiceTest - init mailer
func NewMailerServiceTest ¶
func NewMailerServiceTest() (*MailerServiceTest, error)
NewMailerServiceTest get connection to mailer and create a MailerService struct
func (*MailerServiceTest) SendChangeMail ¶
func (mailerService *MailerServiceTest) SendChangeMail(hostURL string, userEmail string, newEmail string, resetToken string, requestID string) error
SendChangeMail - used for sending email
func (*MailerServiceTest) SendConfirmationMail ¶
func (mailerService *MailerServiceTest) SendConfirmationMail(hostURL string, userEmail string, emailConfirmationToken string, requestID string) error
SendConfirmationMail - used for sending email
func (*MailerServiceTest) SendMail ¶
func (mailerService *MailerServiceTest) SendMail(msg common.Email) error
SendMail - used for sending email
func (*MailerServiceTest) SendResetPasswordMail ¶
func (mailerService *MailerServiceTest) SendResetPasswordMail(hostURL string, userEmail string, resetToken string, requestID string) error
SendResetPasswordMail - used for sending email
Click to show internal directories.
Click to hide internal directories.