types

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ProxyURL is the URL for the proxy server
	ProxyURL string
	// Headers contains the headers to be used in the request
	Headers = make(map[string]string)
)

Functions

This section is empty.

Types

type Options

type Options struct {
	URL                   goflags.StringSlice
	ListURL               goflags.StringSlice
	Command               goflags.StringSlice
	Args                  goflags.StringSlice
	ProxyURL              goflags.StringSlice
	NoColor               bool
	Debug                 bool
	ListAvailableCommands bool
	DisableStdin          bool
	RateLimit             int
	Thread                int
	InputReadTimeout      time.Duration
	Headers               goflags.StringSlice
	Stdin                 bool
	Timeout               int
	Exec                  bool
	DisableUpdateCheck    bool
}

func (*Options) IsCheckMode added in v1.0.1

func (opt *Options) IsCheckMode() bool

func (*Options) IsExecMode added in v1.0.1

func (opt *Options) IsExecMode() bool

func (*Options) IsListAvailableCommands added in v1.0.1

func (opt *Options) IsListAvailableCommands() bool

func (*Options) IsReadMode added in v1.0.1

func (opt *Options) IsReadMode() bool

Jump to

Keyboard shortcuts

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