mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-27 19:09:12 +00:00
c4439c630f
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>;'
41 lines
916 B
Elixir
41 lines
916 B
Elixir
# Pleroma: A lightweight social networking server
|
|
# Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
|
|
# SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
defmodule Pleroma.CachexProxy do
|
|
@behaviour Pleroma.Caching
|
|
|
|
@impl true
|
|
defdelegate get!(cache, key), to: Cachex
|
|
|
|
@impl true
|
|
defdelegate stream!(cache, key), to: Cachex
|
|
|
|
@impl true
|
|
defdelegate put(cache, key, value, options), to: Cachex
|
|
|
|
@impl true
|
|
defdelegate put(cache, key, value), to: Cachex
|
|
|
|
@impl true
|
|
defdelegate get_and_update(cache, key, func), to: Cachex
|
|
|
|
@impl true
|
|
defdelegate get(cache, key), to: Cachex
|
|
|
|
@impl true
|
|
defdelegate fetch!(cache, key, func), to: Cachex
|
|
|
|
@impl true
|
|
defdelegate expire_at(cache, str, num), to: Cachex
|
|
|
|
@impl true
|
|
defdelegate exists?(cache, key), to: Cachex
|
|
|
|
@impl true
|
|
defdelegate del(cache, key), to: Cachex
|
|
|
|
@impl true
|
|
defdelegate execute!(cache, func), to: Cachex
|
|
end
|