Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // VulnerabilitiesIndex is the handle to the bleve database for vulnerability information VulnerabilitiesIndex bleve.Index // ExploitsIndex is the handle to the bleve database for exploit information ExploitsIndex bleve.Index // VulnerabilityDBName is the name of the database directory on disk VulnerabilityDBName = "nvd.bleve" // BleveOpenTimeout controls how long to wait for a bleve database to open // before returning an error. This prevents indefinite blocking when the // underlying BoltDB file is locked by another process (e.g. concurrent test runs). BleveOpenTimeout = 10 * time.Second )
Functions ¶
func CloseBleve ¶
CloseBleve is a simple wrapper for the bleve close call it's used to log any close operations.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.