package
0.1.5
Repository: https://github.com/detectify/nvdtools.git
Documentation: pkg.go.dev

# Functions

Compare performs comparison of each attribute-value (A-V) of the wfns as per Name Matching Specification v.2.3 and returns the set relation between source and target attribute-values.
CompareAttr calculates a relation between a pair of wfn attribute values.
DontMatch returns a Matcher which matches if the given matchers doesn't.
HasWildcard returns true if attribute has a wildcard symbol in it.
Match returns false if the src and tgt attributes are disjoint.
MatchAll returns a Matcher which matches only if all matchers match.
MatchAll returns a Matcher which matches if any of the matchers match.
NewAttributesWithAny allocates Attributes object with all fields initialized to Any logical value.
NewAttributesWithNA allocates Attributes object with all fields initialized to NA logical value.
Parse parses Attributes from URI or formatted string binding.
StripSlashes removes escaping of punctuation characters from attribute value.
UnbindFmtString loads WFN from formatted string.
UnbindURI loads WFN from URI.
WFNize transforms a string into CPE23-NAME compliant avstring value.

# Constants

Possible logical value of Attributes empty string considered ANY when parsing and unquoted "-" is illegal in WFN attribute-value.
Possible values of Relation type.
Possible values of Relation type.
Possible logical value of Attributes empty string considered ANY when parsing and unquoted "-" is illegal in WFN attribute-value.
Possible values of Relation type.
Possible values of Relation type.

# Variables

KnownParts is a map of known WFN attribute parts.

# Structs

Attributes defines the WFN Data Model Attributes.
Comparison is the result of CPE name matching.

# Interfaces

Matcher knows whether it matches some attributes.

# Type aliases

Relation describes four possible set relations of wfns attribute-value.