Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NVDMetadata ¶
type NVDMetadata struct {
CVSSv2 NVDmetadataCVSSv2
}
type NVDMetadataFetcher ¶
type NVDMetadataFetcher struct {
// contains filtered or unexported fields
}
func (*NVDMetadataFetcher) AddMetadata ¶
func (fetcher *NVDMetadataFetcher) AddMetadata(vulnerability *updater.VulnerabilityWithLock) error
func (*NVDMetadataFetcher) Clean ¶
func (fetcher *NVDMetadataFetcher) Clean()
func (*NVDMetadataFetcher) Load ¶
func (fetcher *NVDMetadataFetcher) Load(datastore database.Datastore) error
func (*NVDMetadataFetcher) Unload ¶
func (fetcher *NVDMetadataFetcher) Unload()
type NVDmetadataCVSSv2 ¶
type NestedReadCloser ¶
type NestedReadCloser struct { io.Reader NestedReadClosers []io.ReadCloser }
NestedReadCloser wraps an io.Reader and implements io.ReadCloser by closing every embed io.ReadCloser. It allows chaining io.ReadCloser together and still keep the ability to close them all in a simple manner.
func (*NestedReadCloser) Close ¶
func (nrc *NestedReadCloser) Close()
Close closes the gzip.Reader and the underlying io.ReadCloser.
Click to show internal directories.
Click to hide internal directories.