configer

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	FilePath  string
	Ignore    []string          `yaml:"ignore"`
	Databases []database.Config `yaml:"extra-databases"`
}

func Find

func Find(r *reporter.Reporter, pathToDirectory string) (Config, error)

Find attempts to locate & load a Config using the default name (".cvescan")

func Load

func Load(r *reporter.Reporter, pathToConfig string) (Config, error)

Jump to

Keyboard shortcuts

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