portal

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")
	ErrInvalidBranch = errors.Error("INVALID_BRANCH")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

type Env struct {
	BranchId   string
	ID         string
	Name       string
	EncToken   string
	CreateTime time.Time
}

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          []byte
	LatestAppVersion    []byte
	CanUpdateAppVersion []byte
	MustUpdate          bool
}

type VersionReleaseParams

type VersionReleaseParams struct {
	EnvId            []byte
	AppVersion       []byte
	CompatAppVersion []byte
	Changelog        []byte
	PackageFileKey   []byte
	MustUpdate       bool
}

Directories

Path Synopsis
interface

Jump to

Keyboard shortcuts

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