# `VatchexGreece.Cache`
[🔗](https://github.com/waseigo/vatchex_greece/blob/main/lib/vatchex_greece/cache.ex#L4)

Protocol for cache adapters used by `VatchexGreece.fetch/2`.

# `t`

```elixir
@type t() :: term()
```

All the types that implement this protocol.

# `get`

Looks up a cached value by key. Returns `{:ok, value}` or `:miss`.

# `put`

Stores a value in the cache with a TTL in milliseconds.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
