nvd

package
Version: v1.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2016 License: Apache-2.0 Imports: 17 Imported by: 0

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 NVDmetadataCVSSv2 struct {
	Vectors string
	Score   float64
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL