args

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Usage

func Usage()

func Validate

func Validate(arguments Arguments) error

Types

type Arguments

type Arguments struct {
	Requests              intArgument
	Concurrency           intArgument
	Timeout               durationArgument
	Method                stringArgument
	UserAgent             stringArgument
	UserAgentTemplate     stringArgument
	KeepAlive             boolArgument
	Proxy                 stringArgument
	MaxIdleConnections    intArgument
	IdleConnTimeout       durationArgument
	TLSHandshakeTimeout   durationArgument
	IPv4Only              boolArgument
	IPv6Only              boolArgument
	AllowInsecureSSL      boolArgument
	ClientCertificateFile stringArgument
	PostDataFile          stringArgument
	PostData              stringArgument
	ContentType           stringArgument
	FormData              stringArgument
	OutputFormat          stringArgument
	CustomHeaders         stringArrayArgument
	TimeLimit             durationArgument
	URLListFile           stringArgument
	ExitWithErrorOnCode   stringArrayArgument
}

func GetArguments

func GetArguments() (Arguments, []string)

Jump to

Keyboard shortcuts

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