Files
Stephan D 62a6631b9a
All checks were successful
ci/woodpecker/push/db Pipeline was successful
ci/woodpecker/push/nats Pipeline was successful
service backend
2025-11-07 18:35:26 +01:00

15 lines
594 B
Go

package notifications
import (
"github.com/tech/sendico/pkg/db/account"
macp "github.com/tech/sendico/pkg/messaging/internal/notifications/account"
mah "github.com/tech/sendico/pkg/messaging/notifications/account/handler"
np "github.com/tech/sendico/pkg/messaging/notifications/processor"
"github.com/tech/sendico/pkg/mlogger"
nm "github.com/tech/sendico/pkg/model/notification"
)
func NewAccountCreatedMessageProcessor(logger mlogger.Logger, db account.DB, handler mah.AccountHandler) np.EnvelopeProcessor {
return macp.NewAccountMessageProcessor(logger, handler, db, nm.NACreated)
}