Versions in this module Expand all Collapse all v1 v1.35.2 Jan 28, 2021 Changes in this version + type BackoffState struct + Backoff backoff.Strategy + Callback func() + Retries int + Timer *time.Timer + type Entry struct + Backoff BackoffState + BackoffExpiryTime time.Time + BackoffTime time.Time + CallStatus error + ChildPicker balancer.Picker + EarliestEvictTime time.Time + ExpiryTime time.Time + HeaderData string + Mu sync.Mutex + StaleTime time.Time + type Key struct + KeyMap string + Path string + type LRU struct + func NewLRU(maxSize int64, onEvicted func(Key, *Entry)) *LRU + func (lru *LRU) Add(key Key, value *Entry) + func (lru *LRU) Get(key Key) *Entry + func (lru *LRU) Remove(key Key) + func (lru *LRU) Resize(newMaxSize int64)