input

package
v0.0.0-...-f98508c Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: MIT Imports: 10 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 (
	DefaultTimeout     = 10
	DefaultConcurrency = 50
)

Variables

View Source
var (
	ErrMutexFlags    = errors.New("incompatible flags specified")
	ErrNoInput       = errors.New("no input specified")
	ErrNegativeValue = errors.New("must be positive")
	ErrCidrBadFormat = errors.New("malformed input CIDR")
	ErrMalformedURL  = errors.New("malformed input URL")
)

Functions

This section is empty.

Types

type Options

type Options struct {
	Input       string
	FileInput   string
	FileOutput  string
	Domain      goflags.StringSlice
	Verbose     bool
	Output      io.Writer
	Silent      bool
	Concurrency int
	Timeout     int
	Cidr        bool
}

func ParseOptions

func ParseOptions() *Options

ParseOptions parses the command line options for application.

Jump to

Keyboard shortcuts

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