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

Method NotificationService

api/pkg/di/container.go:1637–1648  ·  view source on GitHub ↗

NotificationService creates a new instance of services.PhoneNotificationService

()

Source from the content-addressed store, hash-verified

1635
1636// NotificationService creates a new instance of services.PhoneNotificationService
1637func (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
1651func (container *Container) RegisterMessageRoutes() {

Callers 1

Calls 8

LoggerMethod · 0.95
TracerMethod · 0.95
FCMClientMethod · 0.95
PhoneRepositoryMethod · 0.95
EventDispatcherMethod · 0.95
DebugMethod · 0.65

Tested by

no test coverage detected