upgrade

package
v0.0.0-...-9625d7e Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// PackageInfoFile ...
	PackageInfoFile = "info"
)

Variables

View Source
var AgentHome string

AgentHome ...

View Source
var AgentTmpHome string

AgentTmpHome ...

View Source
var (
	// SIG_UPGRADE ...
	SIG_UPGRADE = syscall.SIGUSR1
)

Functions

func Download

func Download(url string, version string, md5str string) error

Download file from remote server

Types

type Info

type Info struct {
	Version string `json:"version"`
	File    string `json:"file"`
	Size    int    `json:"size"`
	Md5     string `json:"md5"`
}

Info ...

Jump to

Keyboard shortcuts

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