Documentation ¶
Overview ¶
Description: This package provides a set of functions to send emails using Fabriktor's email templates.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SuspensionReason ¶
type SuspensionReason string
const ( // MaxInfringementsReached represents the reason for suspension when the maximum number of infringements is reached. MaxInfringementsReached SuspensionReason = "Maximum number of infringements reached" // IdentityUsurpation represents the reason for suspension due to identity usurpation. IdentityUsurpation SuspensionReason = "Identity usurpation" // ProfileDetectedFake represents the reason for suspension when a profile is detected to be fake. ProfileDetectedFake SuspensionReason = "Profile detected to be fake" // ProfileDetectedNotHuman represents the reason for suspension when a profile is detected to be non-human, potentially AI, spam, bot, etc. ProfileDetectedNotHuman SuspensionReason = "Profile detected to be not human, maybe AI, spam, bot, etc." )
Specifics represent predefined values for the `reason` subfield of `specifics` attribute of a Google Pub/Sub message.
type TemplateName ¶
type TemplateName string
Aliases.
const ( WelcomeTemplate TemplateName = "welcome" SupportTemplate TemplateName = "support" DeletionTemplate TemplateName = "deletion" ForbiddenTemplate TemplateName = "forbidden" WarningTemplate TemplateName = "warning" SuspensionTemplate TemplateName = "suspension" )
TemplateName represent the name of Fabriktor's email templates. To be assigned to the `templateType` attribute of a Google Pub/Sub message.
Click to show internal directories.
Click to hide internal directories.