ets_browser v0.1.2 EtsBrowser View Source

A simple web-based viewer of data stored in ETS.

Link to this section Summary

Functions

Get all ETS tables on the current node.

Get all contents of an ETS table on the current node by table id.

Get a single ETS table on the current node by name.

Link to this section Functions

Get all ETS tables on the current node.

Examples

iex> EtsBrowser.all_tables()
[%EtsBrowser.Table{}]

Get all contents of an ETS table on the current node by table id.

Examples

iex> EtsBrowser.all_tuples(%EtsBrowser.Table{})
[{:some, :values}]

Get a single ETS table on the current node by name.

Examples

iex> EtsBrowser.get_table("my_table")
%EtsBrowser.Table{}

iex> EtsBrowser.get_table("unknown_table")
nil