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

# Functions

NewSourceConfig creates and initializes a new SourceConfig with values from envconfig.
SetUserAgent sets the value of User-Agent HTTP header for the client.
UserAgent returns the value of User-Agent HTTP header used by the client.

# Constants

Version of nvdsync/datasync.

# Variables

SupportedCPE contains all supported CPE data feeds indexed by name.
SupportedCVE contains all supported CVE feeds indexed by name.

# Structs

SourceConfig is the configuration of the NVD data feed source.
Sync provides full synchronization between remote and local data feeds.

# Interfaces

Syncer is an abstract interface for data feed synchronizers.

# Type aliases

CPE defines the CPE data feed for synchronization.
CVE defines the CVE data feed for synchronization.
SyncError accumulates errors occured during Sync.Do() call.