Documentation
¶
Index ¶
- type LRUCache
- func (nlru *LRUCache[T]) DebugGet() map[string]T
- func (lru *LRUCache[T]) Delete(key string) (ok bool)
- func (lru *LRUCache[T]) Get(key string) (ansval T, ok bool)
- func (nlru *LRUCache[T]) PrintList() string
- func (nlru *LRUCache[T]) Reset()
- func (lru *LRUCache[T]) Set(key string, val T, ttl time.Duration)
- type Node
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.