cfg

package
v0.0.0-...-27b3b18 Latest Latest
Warning

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

Go to latest
Published: May 20, 2025 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNoTargets means no scan paths were found.
	ErrNoTargets = errors.New("cfg: no scan paths found, please check cfg.toml")
)

Functions

func Load

func Load(env *env.Env) error

Load reads all cfgs. Path definitions are loaded according to user defined cfg values.

Types

type Cfg

type Cfg interface {
	Load() error
	Path() string
}

Cfg represents a cfg.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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