package
1.13.12
Repository: https://github.com/qiniu/x.git
Documentation: pkg.go.dev

# Packages

Package lru implements an LRU cache.

# Functions

GetGroup returns the named group previously created with NewGroup, or nil if there's no such group.
NewGroup creates a coordinated group-aware Getter from a Getter.
RegisterNewGroupHook registers a hook that is run each time a group is created.

# Structs

CacheStats are returned by stats accessors on Group.
A Group is a cache namespace and associated data loaded spread over a group of 1 or more machines.

# Interfaces

Context type.
Value type.

# Type aliases

A GetterFunc implements Getter with a function.
Key type.
OnEvictedFunc func.