Documentation
¶
Overview ¶
Package dkimstate is the one definition of "a Sending domain is verified" (ADR 0010). The state is kept as two moments on the row, not a flag: verified_at is when the domain most recently became verified, verification_lost_at when a re-check found its DKIM DNS gone. A domain is verified while it has a verified_at and no loss since. It is a leaf, so the send path, the signer, the setup checklist and the API mapper all read the same rule.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Is ¶
func Is(d *ent.SendingDomain) bool
Is reports whether the row is verified now: the row form of Verified.
func Verified ¶
func Verified() predicate.SendingDomain
Verified selects the Sending domains that are verified now: the query form of Is.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.