EmailGuard v1.1.3 EmailGuard.List behaviour 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

Link to this callback

lookup(domain)

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

Returns the domain to guard against.