Versions in this module Expand all Collapse all v1 v1.3.0 Nov 15, 2026 v1.2.0 Oct 27, 2026 Changes in this version + const AttemptTimeout + const MisconfigurationPause + type Sender interface + Send func(ctx context.Context, email notification.Email, idempotencyKey string) (string, error) + type Store interface + ClaimNotification func(ctx context.Context, owner string) (database.Notification, error) + CompleteNotification func(ctx context.Context, n database.Notification, messageID string) error + ExpireNotifications func(ctx context.Context) error + FinishNotification func(ctx context.Context, n database.Notification, status, reason string) error + NotificationEligible func(ctx context.Context, n database.Notification, email string) (bool, error) + NotificationStats func(ctx context.Context) (database.NotificationStats, error) + PurgeNotifications func(ctx context.Context) error + RetryNotification func(ctx context.Context, n database.Notification, delay time.Duration, ...) error + type Worker struct + func New(log *zap.Logger, store Store, sender Sender, registry prometheus.Registerer) *Worker + func (w *Worker) Run(ctx context.Context)