package
0.6.0
Repository: https://github.com/groxx/cadence-client.git
Documentation: pkg.go.dev

# Functions

New creates a new cache with the given options.
NewLRU creates a new LRU cache of the given size, setting initial capacity to the max size.
NewLRUWithInitialCapacity creates a new LRU cache with an initial capacity and a max size.

# Variables

ErrCacheFull is returned if Put fails due to cache being filled with pinned elements.

# Structs

Options control the behavior of the cache.

# Interfaces

A Cache is a generalized interface to a cache.

# Type aliases

RemovedFunc is a type for notifying applications when an item is scheduled for removal from the Cache.