client

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrInternalError        = errors.Error("INTERNAL_ERROR")
	ErrParamsInvalid        = errors.Error("PARAMS_INVALID")
	ErrUnauthorized         = errors.Error("UNAUTHORIZED")
	ErrInvalidToken         = errors.Error("INVALID_TOKEN")
	ErrInvalidEnv           = errors.Error("INVALID_ENV")
	ErrVersionNotFound      = errors.Error("VERSION_NOT_FOUND")
	ErrVersionNotUpgradable = errors.Error("VERSION_NOT_UPGRADABLE")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FileSource

type FileSource struct {
	Key        string
	Value      string
	Desc       string
	CreateTime time.Time
	FileMD5    string
	FileSize   int64
}

type Version

type Version struct {
	EnvId            string
	AppVersion       string
	CompatAppVersion string
	MustUpdate       bool
	Changelog        string
	PackageFileKey   string
	CreateTime       time.Time
}

type VersionCompatQueryResult

type VersionCompatQueryResult struct {
	AppVersion          string
	LatestAppVersion    string
	CanUpdateAppVersion string
	MustUpdate          bool
}

Directories

Path Synopsis
interface

Jump to

Keyboard shortcuts

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