Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Definition ¶
type Definition struct {
Entry Entry `json:",omitempty"`
}
type Entry ¶
type Entry struct { FixedVersion string `json:",omitempty"` Cves []CveEntry Arches []string `json:",omitempty"` Status types.Status `json:"-"` // For DB size optimization, CPE names will not be stored. // CPE indices are stored instead. AffectedCPEList []string `json:"-"` AffectedCPEIndices []int `json:"Affected,omitempty"` }
Entry holds the unique advisory information per platform.
func (*Entry) MarshalJSON ¶
MarshalJSON customizes how an Entry is marshaled to JSON.
func (*Entry) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.