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

storage

package
v5.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SignatureProvider

type SignatureProvider interface {
	GetSignature(id string) (*detection.Signature, error)
	ScanCandidates(topo *topology.FunctionTopology) ([]*detection.Signature, error)
	// AddSignature accepts a pointer to allow ID propagation back to the caller.
	// This is vital for maintaining a single source of truth for auto generated IDs.
	AddSignature(sig *detection.Signature) error
}

SignatureProvider defines the contract for signature persistence and retrieval. This abstraction allows the engine to remain agnostic of the underlying storage implementation while ensuring security and performance constraints are met.

Directories

Path Synopsis
Package pathguard refuses database writes under operating-system directories.
Package pathguard refuses database writes under operating-system directories.

Jump to

Keyboard shortcuts

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