cache_money v0.4.0 CacheMoney
Handles caching values under different cache names, can expire keys Keep in mind that while you can use atoms or strings for cache and key names, they will always be converted to strings. Also keep in mind that any data you put in the cache will come back out as a string, regardless of how it was inserted.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor
Link to this section Functions
Link to this function
child_spec(arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
delete(pid, key)
Link to this function
get(pid, key)
Link to this function
get_lazy(pid, key, fun, expiry \\ nil)
Link to this function
set(pid, key, value)
Link to this function
set(pid, key, value, expiry)
Link to this function
start_link(cache, config, opts \\ [])