Files
sendico/api/pkg/messaging/notifications/processor/envelope.go
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

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
}