Documentation
¶
Index ¶
Constants ¶
View Source
const Organization = "chainreactors"
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, please install first" )
Functions ¶
This section is empty.
Types ¶
type InstallType ¶
type InstallType string
const ( Binary InstallType = "binary" Go InstallType = "go" )
type NucleiData ¶
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]int64 `json:"assets"`
InstallType InstallType `json:"install_type" yaml:"install_type"`
}
type ToolRequirement ¶
type ToolRequirement struct {
OS string `json:"os"`
Specification []ToolRequirementSpecification `json:"specification"`
}
Click to show internal directories.
Click to hide internal directories.