Remove precompiled javascript (#55)
[akkoma] / test / support / cachex_proxy.ex
1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
4
5 defmodule Pleroma.CachexProxy do
6 @behaviour Pleroma.Caching
7
8 @impl true
9 defdelegate get!(cache, key), to: Cachex
10
11 @impl true
12 defdelegate stream!(cache, key), to: Cachex
13
14 @impl true
15 defdelegate put(cache, key, value, options), to: Cachex
16
17 @impl true
18 defdelegate put(cache, key, value), to: Cachex
19
20 @impl true
21 defdelegate get_and_update(cache, key, func), to: Cachex
22
23 @impl true
24 defdelegate get(cache, key), to: Cachex
25
26 @impl true
27 defdelegate fetch!(cache, key, func), to: Cachex
28
29 @impl true
30 defdelegate expire_at(cache, str, num), to: Cachex
31
32 @impl true
33 defdelegate exists?(cache, key), to: Cachex
34
35 @impl true
36 defdelegate del(cache, key), to: Cachex
37
38 @impl true
39 defdelegate execute!(cache, func), to: Cachex
40 end