AshOnetime.Cache.Entry (ash_onetime v0.1.1)

Copy Markdown View Source

A completed-response cache entry bound to an authoritative PostgreSQL claim.

Callers must treat every entry as untrusted. AshOnetime validates every field against the authoritative claim before using the payload.

Summary

Types

t()

@type t() :: %AshOnetime.Cache.Entry{
  claim_id: Ecto.UUID.t() | nil,
  codec: binary() | nil,
  digest: binary() | nil,
  fingerprint: binary() | nil,
  payload: binary() | nil
}