notify

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2026 License: 0BSD Imports: 6 Imported by: 0

Documentation

Overview

Package notify drains the notification queue: activity mail with the same bounded-retry discipline as webhook delivery, so a flaky relay delays feedback instead of losing it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mailer

type Mailer struct {
	St          *store.Store
	Cfg         config.Config
	RetryBase   time.Duration
	MaxAttempts int
}

func New

func New(st *store.Store, cfg config.Config, retryBase time.Duration) *Mailer

func (*Mailer) Run

func (m *Mailer) Run(ctx context.Context)

Run polls for due mail until ctx is done.

Source Files

  • notify.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL