Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultTimeout = 10 DefaultConcurrency = 50 DefaultRateLimit = 0 DefaultNoFlags = 2 )
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") ErrIsDirectory = errors.New("is a directory") ErrOutputIsInput = errors.New("output file is also an input file") ErrBadProxy = errors.New("malformed proxy URL") )
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
Input string
FileInput string
FileOutput string
Domain goflags.StringSlice
Verbose bool
Silent bool
JSON bool
Concurrency int
Timeout int
Cidr bool
RateLimit int
Proxy string
Bypass bool
BypassFile string
}
func ParseOptions ¶
func ParseOptions() *Options
ParseOptions parses the command line options for application.
Click to show internal directories.
Click to hide internal directories.