lrucache

package
v1.0.146 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCache

func NewCache(size int) (*lruCache, error)

NewCache creates a new LRU cache instance

func NewCacheWithSizeInBytes added in v1.0.123

func NewCacheWithSizeInBytes(size int, sizeInBytes int64) (*lruCache, error)

NewCacheWithSizeInBytes creates a new sized LRU cache instance

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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