Bardo.DBMock (Bardo v0.1.0)

View Source

Mock implementation of the DB module for testing.

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)