Skip to main content

Module message

Module message 

Source
Expand description

The channel-neutral alert: what happened on a site, ready for any channel to render.

One message covers one crawl on one site. A crawl with hundreds of changes still produces one message: the listing is capped at MAX_ITEMS and the rest are counted in more.

Structs§

AlertItem
One change in the listing.
AlertMessage

Enums§

AlertKind
What the message is about; the webhook event field.

Constants§

MAX_ITEMS
How many changes a message lists; the rest become “and N more”.

Functions§

email
The email channel’s rendering: subject, plain text and a small HTML body.