package
2.1.0-beta+incompatible
Repository: https://github.com/rleungx/pd.git
Documentation: pkg.go.dev
# Functions
NewCache create Cache instance by CacheType.
NewDefaultCache create Cache instance by default cache type.
NewFIFO returns a new FIFO cache.
NewIDTTL creates a new TTLUint64 cache.
NewTTL returns a new TTL cache.
# Variables
DefaultCacheType set default cache type for NewDefaultCache function.
# Interfaces
Cache is an interface for cache system.
# Type aliases
Type is cache's type such as LRUCache and etc.