Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
maxminddb
v1.2.2
Array
Hash
MaxMindDB
Any
Type
Buffer
Cache
Decoder
InvalidDatabaseException
Metadata
Reader
Object
Reference
Regex
Value
Built with Crystal 1.9.2
2023-10-07 23:31:23 UTC
struct
MaxMindDB::Cache(K, V)
MaxMindDB::Cache(K, V)
Struct
Value
Object
Defined in:
maxminddb/cache.cr
Constructors
.new
(max_size : Int32)
Instance Method Summary
#fetch
(key : K, &block : K -> V) : V
#full?
Instance methods inherited from struct
Value
==(other : MaxMindDB::Any)
==
Instance methods inherited from class
Object
===(other : MaxMindDB::Any)
===
Constructor Detail
def self.
new
(max_size : Int32)
#
[
View source
]
Instance Method Detail
def
fetch
(key : K, &block : K -> V) : V
#
[
View source
]
def
full?
#
[
View source
]