input

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultTimeout     = 10
	DefaultConcurrency = 50
	DefaultRateLimit   = 0
)

Variables

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

Functions

This section is empty.

Types

type Options

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

Options struct specifies how the tool will behave.

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