elixir v0.0.3 IndieWeb.Cache.Adapter behaviour

Link to this section Summary

Link to this section Callbacks

Link to this callback

delete(key)
delete(key :: binary()) :: :ok | :error

Link to this callback

get(key)
get(key :: binary()) :: {:ok, any()} | {:error, any()}

Link to this callback

set(key, value)
set(key :: binary(), value :: any()) :: :ok | :error