dedupe

package
v3.2.6 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 License: MIT Imports: 7 Imported by: 1

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