lru

package
v1.6.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package lru allows you to store values in a queue and compare their existence.

Used as a temporary cache storage (least recently used).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ILRUCache

type ILRUCache interface {
	cache.ICache

	GetIndex() uint64
	GetKey(i uint64) ([]byte, bool)
}

func NewLRUCache

func NewLRUCache(pCapacity uint64) ILRUCache

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL