service backend
This commit is contained in:
13
api/pkg/messaging/notifications/processor/envelope.go
Normal file
13
api/pkg/messaging/notifications/processor/envelope.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package notifications
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
me "github.com/tech/sendico/pkg/messaging/envelope"
|
||||
"github.com/tech/sendico/pkg/model"
|
||||
)
|
||||
|
||||
type EnvelopeProcessor interface {
|
||||
GetSubject() model.NotificationEvent
|
||||
Process(ctx context.Context, envelope me.Envelope) error
|
||||
}
|
||||
Reference in New Issue
Block a user