Innkeeper

View Source

Innkeeper creates and owns your ETS tables. Innkeeper makes them public and named. Innkeeper does not do anything else.

Installation

Innkeeper adores Elixir v1.18. Venture forth, add Innkeeper to the dependencies:

def deps do
[
  {:innkeeper, "~> 0.1"},
]
end

run mix deps.get and see what happens.

Usage

Once you need an ETS table:

use Innkeeper

ets_table :my_table, read_concurrency: true, write_concurrency: :auto

The table will be provided.