MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / UserEmailFactory

Method UserEmailFactory

api/pkg/di/container.go:1088–1095  ·  view source on GitHub ↗

UserEmailFactory creates a new instance of emails.UserEmailFactory

()

Source from the content-addressed store, hash-verified

1086
1087// UserEmailFactory creates a new instance of emails.UserEmailFactory
1088func (container *Container) UserEmailFactory() (factory emails.UserEmailFactory) {
1089 container.logger.Debug("creating emails.UserEmailFactory")
1090 return emails.NewHermesUserEmailFactory(&emails.HermesGeneratorConfig{
1091 AppURL: os.Getenv("APP_URL"),
1092 AppName: os.Getenv("APP_NAME"),
1093 AppLogoURL: os.Getenv("APP_LOGO_URL"),
1094 })
1095}
1096
1097// NotificationEmailFactory creates a new instance of emails.NotificationEmailFactory
1098func (container *Container) NotificationEmailFactory() (factory emails.NotificationEmailFactory) {

Callers 2

BillingServiceMethod · 0.95
UserServiceMethod · 0.95

Calls 1

DebugMethod · 0.65

Tested by

no test coverage detected