Documentation
¶
Overview ¶
Distributed under the GNU Lesser General Public License v3.0 software license, see the accompanying file LICENSE or <https://www.gnu.org/licenses/lgpl-3.0.html>
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrioCache ¶
type PrioCache struct {
// contains filtered or unexported fields
}
PrioCache a cache holds entries with priority. If len of cache reaches limit, the entry has lowest priority will be evicted.
type RandCache ¶
type RandCache struct {
// contains filtered or unexported fields
}
RandCache a simple cache which randomly evicts entries when length exceeds limit.
Click to show internal directories.
Click to hide internal directories.