Documentation ¶ Index ¶ func NewLRU(maxSize int) *lruPageCache Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewLRU ¶ func NewLRU(maxSize int) *lruPageCache NewLRU creates a LRU (least recently used) cache. This cache takes a maxSize which determines how many items can be cached. When the maximum size of the cache is exceeded, the least recently used item will be evicted. Types ¶ This section is empty. Source Files ¶ View all Source files cache.go Click to show internal directories. Click to hide internal directories.