package
0.0.0-20241217140921-6642097e0988
Repository: https://github.com/shlin168/go-nvd.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MetricRegister register metrics when server starts.
MetricRegisterOn register needed promutheus metrics on given registerer.
MetricUnRegister unregister metrics when server shutdown.
MetricUnRegisterFrom unregister metrics from registerer.
No description provided by the author
NewNvdController initializes controller, and the return instance provides what the handler needs (E.g., db and queue client).
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CPEResultsPerPage is the default resultsPerPage for NVD CPE API The document declares with 5000 while it is actually 10000.
CVEResultsPerPage is the default resultsPerPage for NVD CVE API.
No description provided by the author
No description provided by the author
Qs..
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Status..
No description provided by the author
# Structs
NvdController is the controller to handle requests from asking NVD information.
No description provided by the author
# Interfaces
Controller is the interface to implement a router group which is registered to *gin.Engine with Register function.
NvdDB defines the interface that NvdController needs to handle requests.
# Type aliases
No description provided by the author