Documentation ¶
Overview ¶
Package cache provides a concurrent LRU cache.
To use this package, call NewCache.
Index ¶
Constants ¶
View Source
const MaxCacheSize = 5
MaxCacheSize defines the maximum cache size. It should satisfy 1 <= MaxCacheSize <= 10000, but for some test cases it should satisfy more (check them).
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.