lib

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientInfo

type ClientInfo struct {
	Server  string
	Key     string
	Project string
	Branch  string

	Verbose bool
}

func (*ClientInfo) Check

func (u *ClientInfo) Check() (bool, error)

true if remote version is newer than present

func (*ClientInfo) DownloadAndReplaceMe

func (u *ClientInfo) DownloadAndReplaceMe(timeout time.Duration) error

newsz, newcrc - should be

func (*ClientInfo) Upload

func (u *ClientInfo) Upload(branch string) error

upload new version

// params: // key // project // branch // size // crc

Jump to

Keyboard shortcuts

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