Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientInfo ¶
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
Source Files ¶
Click to show internal directories.
Click to hide internal directories.