Documentation
¶
Index ¶
- type CPEAnalyzer
- func (c *CPEAnalyzer) AvailableCPE() []*rule.CPE
- func (c *CPEAnalyzer) Feed(url string, cpes ...*rule.CPE)
- func (c *CPEAnalyzer) GetCPEsByProduct(product string) []*rule.CPE
- func (c *CPEAnalyzer) GetVersionByProduct(product string) (string, error)
- func (c *CPEAnalyzer) IsProductExisted(product string) bool
- func (c *CPEAnalyzer) QueryOrigins(cpes ...*rule.CPE) map[*rule.CPE]string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CPEAnalyzer ¶
type CPEAnalyzer struct { WebsiteURLs []string // contains filtered or unexported fields }
func NewCPEAnalyzer ¶
func NewCPEAnalyzer(urls ...string) *CPEAnalyzer
func (*CPEAnalyzer) AvailableCPE ¶
func (c *CPEAnalyzer) AvailableCPE() []*rule.CPE
func (*CPEAnalyzer) GetCPEsByProduct ¶
func (c *CPEAnalyzer) GetCPEsByProduct(product string) []*rule.CPE
func (*CPEAnalyzer) GetVersionByProduct ¶
func (c *CPEAnalyzer) GetVersionByProduct(product string) (string, error)
func (*CPEAnalyzer) IsProductExisted ¶
func (c *CPEAnalyzer) IsProductExisted(product string) bool
func (*CPEAnalyzer) QueryOrigins ¶
Click to show internal directories.
Click to hide internal directories.