lru

package
v0.0.0-...-1500fe2 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cell

type Cell struct {
	Key   interface{}
	Value interface{}
}

type ILRU

type ILRU interface {
	Get(key interface{}) interface{}

	Set(c Cell)

	QueueLen() int
}

func New

func New(capacity int) ILRU

Jump to

Keyboard shortcuts

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