engine v0.1.2 Engine.Storage.Storage
Proxy API layer to provide a Facade for different data storages. The ideia is to read from the config file what is the choosen storage, and route the call to the specifc implementation. http://elixir-lang.org/docs/stable/elixir/typespecs
Summary
Functions
Save only one event to the stream
Save a list of events to the stream
Save snapshot after checking the frequency config, adding -snapshot to its namespace
Load all events for that stream
Load events, but from a specific position
Load the last snapshot for that stream
If you want to know what storage is configured
Types
Functions
Save a list of events to the stream.
Save snapshot after checking the frequency config, adding -snapshot to its namespace