Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunSignatureUpdate ¶
RunSignatureUpdate is the functional entry point to the application. Use this method to invoke the downloader from external code.
Types ¶
type Config ¶
type Config struct { Verbose bool DataFilePath string DiffThreshold uint16 DownloadMirrorURL *url.URL DNSDbInfoDomain string }
Config is a data structure that encapsulates the configuration parameters used to run the sigupdate application.
func ParseCliFlags ¶
func ParseCliFlags(appVersionInfo utils.AppVersionInfo, defaults Config) Config
ParseCliFlags parses the CLI options passed to the application.
func ParseConfig ¶
func ParseConfig(appVersionInfo utils.AppVersionInfo) Config
ParseConfig parses environment variables and command line options for the runtime configuration.
func ParseEnvVars ¶
ParseEnvVars parses environment variables for runtime configuration.
type Download ¶
type Download struct { Filename string LocalFilePath string // contains filtered or unexported fields }
Download is a data structure containing the properties used for downloading a signature file.
type SignatureInfo ¶
SignatureInfo is for storing a Signature's metadata
Source Files ¶
Click to show internal directories.
Click to hide internal directories.