11 lines
369 B
Go
11 lines
369 B
Go
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)
|
|
}
|