Packages

A Elixir wrapper with auto caching for PokeAPI

Current section

Files

Jump to
max_elixir_poke_api lib infrastructure cache cache_behaviour.ex
Raw

lib/infrastructure/cache/cache_behaviour.ex

defmodule MaxElixirPokeApi.Cache.Behaviour do
@moduledoc false
@callback exists?(atom(), String.t()) :: {atom, boolean}
@callback get(atom(), String.t()) :: {atom, any}
@callback put(atom(), String.t(), any) :: {atom, any}
end