Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrLruNotFoundKey = errors.New("lru key not exist")
Functions ¶
This section is empty.
Types ¶
type LRUCache ¶
type LRUCache struct {
// contains filtered or unexported fields
}
func NewLRUCache ¶
param: length 长度 param: ttl 缓存有效期 (s)
Click to show internal directories.
Click to hide internal directories.