Documentation
¶
Overview ¶
Package reputation computes the deliverability rates of ADR 0011: complaint rate (over delivered mail since ADR 0053) and bounce rate (over sent) per (Workspace, Sending domain) over a trailing window.
The rates are flow rates by each Event's own timestamp, computed by a live windowed query over events (no rollup table). Each is exposed as the (numerator, denominator, rate) triple; the rate is undefined (nil) when the denominator is zero.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DomainRates ¶
type DomainRates struct {
Domain *ent.SendingDomain
// Complaint is complaints / delivered (ADR 0053): undefined with no email.delivered Event in
// the window, as for a Preset that reports no delivery.
Complaint Rate
// Bounce is hard bounces / sent. Soft (transient) bounces are not counted.
Bounce Rate
}
DomainRates are the rates of one Sending domain.
type Module ¶
type Module struct{}
Module reads the rates.
Click to show internal directories.
Click to hide internal directories.