Forecastr.Cache (forecastr v0.3.0)

"Proxy" module for different caches

Summary

Functions

Link to this function

get(atom, query)

@spec get(:today, String.t()) :: map() | nil
@spec get(:next_days, String.t()) :: map() | nil
Link to this function

set(atom, query, response)

@spec set(:today, String.t(), map()) :: :ok
@spec set(:next_days, String.t(), map()) :: :ok