package
3.0.0+incompatible
Repository: https://github.com/bountysecurity/gbounty.git
Documentation: pkg.go.dev

# Functions

Parse parses a slice of strings as a list of arguments (e.g.
PrepareTemplates takes a [Config] and a [scan.FileSystem], and uses the first one to initialize the [Template] instances that compound the scan defined by that configuration, and stores them into the given file system, so it is ready for the scan to start.

# Variables

ErrInvalidHeader is the error returned when [Config] contains some headers configured by they have an invalid format.
ErrProcessRequestFile is the error returned when [Config] points to a file with requests, and it could not be processed successfully.
ErrProcessUrlsFile is the error returned when [Config] points to a file with urls, and it could not be processed successfully.

# Structs

Config is the set of the different command-line configuration options.
Verbosity is a structure used to capture the corresponding [logger.Level] from configuration (command-line) options, including whether it's [logger.LevelDebug], [logger.LevelInfo], [logger.LevelWarn] or disabled.

# Type aliases

MultiValue defines a stringified command-line argument that can contain multiple values.