EmailNotificationService creates a new instance of services.EmailNotificationService
()
| 1117 | |
| 1118 | // EmailNotificationService creates a new instance of services.EmailNotificationService |
| 1119 | func (container *Container) EmailNotificationService() (service *services.EmailNotificationService) { |
| 1120 | container.logger.Debug(fmt.Sprintf("creating %T", service)) |
| 1121 | return services.NewEmailNotificationService( |
| 1122 | container.Logger(), |
| 1123 | container.Tracer(), |
| 1124 | container.UserRepository(), |
| 1125 | container.NotificationEmailFactory(), |
| 1126 | container.Mailer(), |
| 1127 | container.Cache(), |
| 1128 | ) |
| 1129 | } |
| 1130 | |
| 1131 | // MessageHandler creates a new instance of handlers.MessageHandler |
| 1132 | func (container *Container) MessageHandler() (handler *handlers.MessageHandler) { |
no test coverage detected