NotificationService creates a new instance of services.PhoneNotificationService
()
| 1635 | |
| 1636 | // NotificationService creates a new instance of services.PhoneNotificationService |
| 1637 | func (container *Container) NotificationService() (service *services.PhoneNotificationService) { |
| 1638 | container.logger.Debug(fmt.Sprintf("creating %T", service)) |
| 1639 | return services.NewNotificationService( |
| 1640 | container.Logger(), |
| 1641 | container.Tracer(), |
| 1642 | container.FCMClient(), |
| 1643 | container.PhoneRepository(), |
| 1644 | container.PhoneNotificationRepository(), |
| 1645 | container.MessageSendScheduleRepository(), |
| 1646 | container.EventDispatcher(), |
| 1647 | ) |
| 1648 | } |
| 1649 | |
| 1650 | // RegisterMessageRoutes registers routes for the /messages prefix |
| 1651 | func (container *Container) RegisterMessageRoutes() { |
no test coverage detected