Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Based on https://raw.githubusercontent.com/hashicorp/golang-lru/master/simplelru/lru.go
func (*Cache) Add ¶
func (c *Cache) Add(key string, value *structs.CacheEntry)
Add adds a value to the cache. Returns true if an eviction occurred.
Click to show internal directories.
Click to hide internal directories.