14 lines
270 B
Go
14 lines
270 B
Go
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
|
|
}
|