repositories

package
v0.0.0-...-7e2dd01 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PsqlNucleiRepository

type PsqlNucleiRepository struct {
	DB    *sql.DB
	Table string
}

func (PsqlNucleiRepository) AddSubdomain

func (p PsqlNucleiRepository) AddSubdomain(res nuclei.NucleiResult) error

func (PsqlNucleiRepository) GetAllResults

func (p PsqlNucleiRepository) GetAllResults(latest int) ([]nuclei.NucleiDB, error)

func (PsqlNucleiRepository) GetResultsBySeverity

func (p PsqlNucleiRepository) GetResultsBySeverity(sev string, latest int) ([]nuclei.NucleiDB, error)

Jump to

Keyboard shortcuts

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