Affected by GO-2022-0585
and 1 other vulnerabilities
GO-2022-0585: Server-Side Request Forgery in Apache Traffic Control in github.com/apache/trafficcontrol
GO-2024-2776: Apache Traffic Control Traffic Ops Vulnerable to LDAP Injection in github.com/apache/trafficcontrol
The highest tagged major version is
v8.
package
Version:
v5.1.3+incompatible
Opens a new window with list of versions in this module.
Published: Oct 5, 2021
License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 11
Opens a new window with list of known importers.
Documentation
¶
Add adds the key to the LRU, with the given size. Returns the size of the the old size, or 0 if no key existed.
Keys returns a string array of the keys
RemoveOldest returns the key, size, and true if the LRU is nonempty; else false.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.