cache

package
v0.0.0-...-5cefb41 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package lru implements lru algorithm using linked list and hash map

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLRU

func NewLRU(opts ...Opt) (*cache, error)

Types

type Opt

type Opt func(*options)

func WithCapacity

func WithCapacity(c int) Opt

func WithConcurrency

func WithConcurrency(c int) Opt

Jump to

Keyboard shortcuts

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