lruSessionCache is a ClientSessionCache implementation that uses an LRU caching strategy.
| 1634 | // lruSessionCache is a ClientSessionCache implementation that uses an LRU |
| 1635 | // caching strategy. |
| 1636 | type lruSessionCache struct { |
| 1637 | sync.Mutex |
| 1638 | |
| 1639 | m map[string]*list.Element |
| 1640 | q *list.List |
| 1641 | capacity int |
| 1642 | } |
| 1643 | |
| 1644 | type lruSessionCacheEntry struct { |
| 1645 | sessionKey string |
nothing calls this directly
no outgoing calls
no test coverage detected