NotificationEmailFactory creates a new instance of emails.NotificationEmailFactory
()
| 1096 | |
| 1097 | // NotificationEmailFactory creates a new instance of emails.NotificationEmailFactory |
| 1098 | func (container *Container) NotificationEmailFactory() (factory emails.NotificationEmailFactory) { |
| 1099 | container.logger.Debug("creating emails.UserEmailFactory") |
| 1100 | return emails.NewHermesNotificationEmailFactory(&emails.HermesGeneratorConfig{ |
| 1101 | AppURL: os.Getenv("APP_URL"), |
| 1102 | AppName: os.Getenv("APP_NAME"), |
| 1103 | AppLogoURL: os.Getenv("APP_LOGO_URL"), |
| 1104 | }) |
| 1105 | } |
| 1106 | |
| 1107 | // MessageThreadService creates a new instance of services.MessageService |
| 1108 | func (container *Container) MessageThreadService() (service *services.MessageThreadService) { |
no test coverage detected