cadence

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package cadence decides which readers a campaign reaches by the rhythm they chose on the preference center (review 2026-11 CA-6, decision D1).

Readers pick "Every issue" (all, also everyone who never chose), "Weekly roundup" (weekly) or "Monthly best-of" (monthly). A regular campaign reaches "Every issue" readers only; a weekly or monthly digest issue reaches its rhythm's readers as well; an announcement reaches everyone on its lists whatever they chose.

Index

Constants

View Source
const Announcement = "announcement"

Announcement is the campaign cadence that reaches everyone.

Variables

This section is empty.

Functions

func Frequencies

func Frequencies(audienceCadence, digestFrequency string) []string

Frequencies are the preference-center choices a campaign reaches: its audience cadence ("" or "regular", "announcement") and, for a digest issue, the digest's frequency ("weekly", "monthly", "daily", "items"). nil reaches everyone.

Types

This section is empty.

Jump to

Keyboard shortcuts

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