config

package
v3.26.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2023 License: AGPL-3.0 Imports: 5 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 {
	Detectors []detectors.Detector
}

Config holds user supplied configuration.

func NewYAML

func NewYAML(input []byte) (*Config, error)

NewYAML parses the given YAML data into a Config.

func Read

func Read(filename string) (*Config, error)

Read parses a given filename into a Config.

Jump to

Keyboard shortcuts

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