options

package
v0.0.0-...-3996087 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default = Options{
	Formats:       payload.AllFormats,
	ProberOptions: map[string]interface{}{},
}

Functions

This section is empty.

Types

type Options

type Options struct {
	// Formats captures a list of formats a probe wants to find. If a document
	// is found but its format is not in the list it will be ignored. By default
	// the formats list is set to payload.AllFormats
	Formats payload.FormatsList

	// Prober options is a map keyed by purl types that holds free form structs
	// that are passed as options to the corresponding PackageProber.
	ProberOptions map[string]interface{}
}

Jump to

Keyboard shortcuts

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