ETS-backed replay cache for Mailgun webhook tokens.
Summary
Functions
@spec check_and_put(binary(), DateTime.t()) :: :ok | {:error, :replay}
@spec reset() :: :ok
@spec table() :: :mailglass_webhook_mailgun_replay_cache
ETS-backed replay cache for Mailgun webhook tokens.
@spec check_and_put(binary(), DateTime.t()) :: :ok | {:error, :replay}
@spec reset() :: :ok
@spec table() :: :mailglass_webhook_mailgun_replay_cache