import "github.com/dgrijalva/lfu-go"
// Make a new thing
c := lfu.New()
// Set some values
c.Set("myKey", myValue)
// Retrieve some values
myValue = c.Get("myKey")
// Evict some values
c.Evict(1)
type Cache struct {
// If len > UpperBound, cache will automatically evict// down to LowerBound. If either value is 0, this behavior// is disabled. UpperBound int LowerBound int EvictionChannel chan<- Eviction// contains filtered or unexported fields
}