dedupe

package
v3.3.4 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: MIT Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package dedupe implements deduplication layer for nuclei-generated issues.

The layer can be persisted to leveldb based storage for further use.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage struct {
	// contains filtered or unexported fields
}

Storage is a duplicate detecting storage for nuclei scan events.

func New

func New(dbPath string) (*Storage, error)

New creates a new duplicate detecting storage for nuclei scan events.

func (*Storage) Clear

func (s *Storage) Clear()

func (*Storage) Close

func (s *Storage) Close()

Close closes the storage for further operations

func (*Storage) Index

func (s *Storage) Index(result *output.ResultEvent) (bool, error)

Index indexes an item in storage and returns true if the item was unique.

Jump to

Keyboard shortcuts

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