EmailGuard.List behaviour (EmailGuard v1.2.2) View Source

Simple behaviour for lists of blacklisted domains.

See EmailGuard.DisposableList for an example.

Link to this section Summary

Callbacks

Returns the domain to guard against.

Link to this section Callbacks

Specs

lookup(domain :: String.t()) :: list_module :: module() | nil

Returns the domain to guard against.