types

package
v0.49.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2025 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
}

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"`
}

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