Karta.PublicSuffix.Fetched (Karta v1.0.0)

The Public Suffix List as Karta last fetched it (Karta.PublicSuffix.Refresh), one row shared by every node:

  • content - the list, as fetched and checked (nil until a fetch succeeds); sha256 its digest, version the version its header names, rules how many rules it has;
  • url, etag - where it came from and the server's tag for it (sent back, so an unchanged list is not downloaded again);
  • fetched_at - when this content was fetched; checked_at - when the server was last asked, whatever it answered;
  • failure, failed_at - the last attempt that failed, when it is newer than checked_at. The content before it stays in use.

Summary

Types

t()

@type t() :: %Karta.PublicSuffix.Fetched{
  __meta__: term(),
  checked_at: term(),
  content: term(),
  etag: term(),
  failed_at: term(),
  failure: term(),
  fetched_at: term(),
  id: term(),
  inserted_at: term(),
  rules: term(),
  sha256: term(),
  updated_at: term(),
  url: term(),
  version: term()
}