Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache provides a SQLite-backed cache for CVE query results. Reduces API load on NVD/OSV/GHSA and speeds up repeat scans.
func New ¶
New creates a cache backed by SQLite at the given directory. ttlHours controls how long entries remain valid.
Click to show internal directories.
Click to hide internal directories.