API Reference Pockets v1.4.0

modules

Modules

Pockets is a wrapper around Erlang :ets and :dets, built-in options for memory- and disk-based term storage. It offers simple key/value storage using an interface similar to the Map or Keyword modules. This can be a useful persistent cache for many use cases.

A struct defining information about an Erlang :dets disk-based table, adapted from :dets.info/1.

A struct defining information about an Erlang :ets in-memory table, adapted from :ets.info/1

A simple struct that we store for each Pockets table so that we can nicely map what you use to refer to your Pockets table and what the behind-the-scenes library uses to refer to the table.