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

Method EmailNotificationService

api/pkg/di/container.go:1119–1129  ·  view source on GitHub ↗

EmailNotificationService creates a new instance of services.EmailNotificationService

()

Source from the content-addressed store, hash-verified

1117
1118// EmailNotificationService creates a new instance of services.EmailNotificationService
1119func (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
1132func (container *Container) MessageHandler() (handler *handlers.MessageHandler) {

Callers 1

Calls 7

LoggerMethod · 0.95
TracerMethod · 0.95
UserRepositoryMethod · 0.95
MailerMethod · 0.95
CacheMethod · 0.95
DebugMethod · 0.65

Tested by

no test coverage detected