Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
cache
v0.0.4
Cache
Entry
MemoryStore
RedisStore
Store
Built with Crystal 1.9.2
2023-10-08 22:14:38 UTC
struct
Cache::Entry(V)
Cache::Entry(V)
Struct
Value
Object
Defined in:
cache/stores/memory_store.cr
Constructors
.new
(value : V, expires_in : Time)
Instance Method Summary
#expires_in
#value
Constructor Detail
def self.
new
(value : V, expires_in : Time)
#
[
View source
]
Instance Method Detail
def
expires_in
#
[
View source
]
def
value
#
[
View source
]