types

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2026 License: MIT Imports: 1 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

Index

Constants

View Source
const Organization = "projectdiscovery"

Variables

View Source
var (
	ErrIsInstalled = errors.New("already installed")
	ErrIsUpToDate  = errors.New("already up to date")

	ErrNoAssetFound = "could not find release asset for your platform (%s/%s)"
	ErrToolNotFound = "%s: tool not found in path %s: skipping"
)

Functions

This section is empty.

Types

type InstallType added in v0.0.9

type InstallType string
const (
	Binary InstallType = "binary"
	Go     InstallType = "go"
)

type NucleiData

type NucleiData struct {
	IgnoreHash string `json:"ignore-hash"`
	Tools      []Tool `json:"tools"`
}

type Tool

type Tool struct {
	Name          string            `json:"name"`
	Repo          string            `json:"repo"`
	Version       string            `json:"version"`
	GoInstallPath string            `json:"go_install_path" yaml:"go_install_path"`
	Requirements  []ToolRequirement `json:"requirements"`
	Assets        map[string]string `json:"assets"`
	InstallType   InstallType       `json:"install_type" yaml:"install_type"`
}

type ToolRequirement added in v0.0.8

type ToolRequirement struct {
	OS            string                         `json:"os"`
	Specification []ToolRequirementSpecification `json:"specification"`
}

type ToolRequirementSpecification added in v0.0.8

type ToolRequirementSpecification struct {
	Name        string `json:"name"`
	Required    bool   `json:"required"`
	Command     string `json:"command"`
	Instruction string `json:"instruction"`
}

Jump to

Keyboard shortcuts

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