Bardo.DBETS (Bardo v0.1.0)

View Source

ETS-based implementation of the DB module for testing. This replaces the RocksDB-based implementation with a simple in-memory ETS table.

Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

delete(key, type)

init(_)

Callback implementation for GenServer.init/1.

read(key, type)

start_link(opts)

write(key, value, type)