internal

package
v1.6.16 Latest Latest
Warning

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

Go to latest
Published: May 17, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEmptyInput = errors.New("empty data")
)

Functions

func StringTerms

func StringTerms(s string) string

Types

type Options

type Options struct {
	UrlFile           string
	URL               goflags.StringSlice
	Threads           int
	Timeout           int
	Proxy             string
	Output            io.Writer
	OutputFile        string
	OutputType        string
	Stdin             bool
	FingerHome        string
	Debug             bool
	UpdateRule        bool
	DisableIcon       bool
	DisableJavaScript bool
	Version           bool
	DebugResp         bool
	DebugReq          bool
	Validate          bool
}

func ParseOptions

func ParseOptions() *Options

type OutputFields

type OutputFields struct {
	URL     string                       `json:"URL"`
	Extract map[string]map[string]string `json:"Extract"`
}

type OutputWriter

type OutputWriter struct {
	JSON bool
}

OutputWriter outputs content to writers.

func NewOutputWriter

func NewOutputWriter(json bool) *OutputWriter

NewOutputWriter creates a new OutputWriter

Jump to

Keyboard shortcuts

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