Sovite.Core.Repo.Tables.MTASTSPolicies (sovite v0.6.0)

Copy Markdown View Source

The MTA-STS policies of recipient domains, cached by Sovite.Core.MTASTS: one per domain.

Summary

Functions

Forgets the policy of domain.

The cached policy of domain, if any.

All cached policies, by domain.

Stores the policy of attrs.domain, replacing the one cached before.

Functions

delete(repo, domain)

@spec delete(Sovite.Core.Repo.t(), String.t()) :: non_neg_integer()

Forgets the policy of domain.

get(repo, domain)

The cached policy of domain, if any.

list(repo)

All cached policies, by domain.

put(repo, attrs)

Stores the policy of attrs.domain, replacing the one cached before.