factory

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultDetectors

func DefaultDetectors() []string

func New

func New(cfg Config) (scanner.Scanner, error)

Types

type Config

type Config struct {
	Root           string
	GitleaksConfig config.GitleaksConfig
}

Config is the subset of configuration needed to create a scanner.

Jump to

Keyboard shortcuts

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