config

package
v1.3.8-rc3 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CVEConfig

type CVEConfig struct {
	UpdateInterval time.Duration // should be 2 hours or more, if not specified default be kept as 24 hours
}

type ExtensionConfig

type ExtensionConfig struct {
	Search  *SearchConfig
	Sync    *sync.Config
	Metrics *MetricsConfig
}

type MetricsConfig

type MetricsConfig struct {
	Enable     *bool
	Prometheus *PrometheusConfig
}

type PrometheusConfig

type PrometheusConfig struct {
	Path string // default is "/metrics"
}

type SearchConfig

type SearchConfig struct {
	// CVE search
	CVE    *CVEConfig
	Enable *bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL