Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
cache
v0.0.2
Cache
Entry
MemoryStore
Store
Built with Crystal 1.9.2
2023-10-08 22:31:35 UTC
struct
Cache::Entry(V)
Cache::Entry(V)
Struct
Value
Object
Defined in:
cache/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
]