SferaDoc.Store.ETS (sfera_doc v0.1.0)

Copy Markdown View Source

ETS-backed in-memory storage adapter for SferaDoc.

Development and testing only

This adapter stores templates in a BEAM ETS table. All data is lost on process crash or node restart. Use only for development and testing.

Configuration

config :sfera_doc, :store,
  adapter: SferaDoc.Store.ETS

Summary

Functions

Returns a specification to start this module under a supervisor.

Clears all entries: test helper only.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

reset()

Clears all entries: test helper only.

start_link(opts \\ [])