util

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const ItzoFlagPrefix = "itzoFlag"

Variables

View Source
var DefaultItzoFlags = []string{"--v", "5"}
View Source
var (
	DialTimeout = time.Duration(5 * time.Second)
)

Functions

func EnsureProg

func EnsureProg(prog, downloadURL, minVersion, versionArg string) (string, error)

func GetItzoFlags added in v0.0.24

func GetItzoFlags(config map[string]string) []string

func InstallProg

func InstallProg(url, path string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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