ElixirS3Cached

TODO: Add description

Installation

If available in Hex, the package can be installed by adding elixir_s3_cached to your list of dependencies in mix.exs:

def deps do
  [
    {:elixir_s3_cached, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/elixir_s3_cached.

Using in your project

If you want to start the cache manually, you can call ElixirS3Cached.start_link/3

{:ok, cache} = ElixirS3Cached.start_link("cache_name", "bucket_name", %{})

and then, call the function get/2

value = ElixirS3Cached.get(cache, "key")

or set/3

ElixirS3Cached.set(cache, "key", "value")