cflags

package
v0.0.0-...-57b748c Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultThreadCount = 10
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CLIFlags

type CLIFlags struct {
	URL        string
	Thread     int
	OutputPath string
	Verbose    bool
	Checksum   string
	Version    bool
}

func (*CLIFlags) HasValidDownloadURL

func (f *CLIFlags) HasValidDownloadURL() (bool, error)

func (*CLIFlags) Parse

func (f *CLIFlags) Parse() error

func (*CLIFlags) PerformEssentialChecks

func (f *CLIFlags) PerformEssentialChecks()

Jump to

Keyboard shortcuts

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