service backend
This commit is contained in:
14
api/pkg/messaging/notifications/account/processor.go
Normal file
14
api/pkg/messaging/notifications/account/processor.go
Normal file
@@ -0,0 +1,14 @@
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user