template-monorepo/internal/model/notification/domain/usecase/notifier.go

11 lines
369 B
Go
Raw Normal View History

package usecase
import "context"
// NotifierUseCase is the unified outbound notification entry point.
type NotifierUseCase interface {
Send(ctx context.Context, req *SendRequest) (*NotificationDTO, error)
Enqueue(ctx context.Context, req *SendRequest) (*NotificationDTO, error)
Get(ctx context.Context, tenantID, notificationID string) (*NotificationDTO, error)
}