Help us shape the future of Go! Take the 2026 Go Developer Survey

types

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DetectionResult

type DetectionResult struct {
	Findings []Finding
	Error    error
}

type Finding

type Finding struct {
	Pattern PatternElement
	Text    string
	Engine  string
}

type PatternElement

type PatternElement struct {
	Pattern PatternPattern `json:"pattern"`
}

type PatternPattern

type PatternPattern struct {
	Name       string `json:"name"`
	Regex      string `json:"regex"`
	Confidence string `json:"confidence"`
	Token      bool   `json:"token,omitempty" yaml:"token,omitempty"`
}

type SecretsPatterns

type SecretsPatterns struct {
	Patterns []PatternElement `json:"patterns"`
}

Jump to

Keyboard shortcuts

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