Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F7889635
cachex_proxy.ex
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
916 B
Referenced Files
None
Subscribers
None
cachex_proxy.ex
View Options
# Pleroma: A lightweight social networking server
# Copyright © 2017-2022 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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Oct 2, 2:38 AM (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
480489
Default Alt Text
cachex_proxy.ex (916 B)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline
Log In to Comment