versioncheck

package
v3.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2020 License: GPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PERCONA_TOOLKIT = "Percona::Toolkit"
	DEFAULT_TIMEOUT = 3 * time.Second
	DEFAULT_URL     = "https://v.percona.com/"

	URL_ENV_VAR     = "PERCONA_VERSION_CHECK_URL"
	TIMEOUT_ENV_VAR = "PERCONA_VERSION_CHECK_TIMEOUT"
)

Variables

This section is empty.

Functions

func CheckUpdates

func CheckUpdates(toolName, version string) (string, error)

Types

type Advice

type Advice struct {
	Hash     string
	ToolName string
	Advice   string
}

Jump to

Keyboard shortcuts

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