code_push

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")

	ErrBranchExisted     = errors.Error("BRANCH_EXISTED")
	ErrBranchNameExisted = errors.Error("BRANCH_NAME_EXISTED")
	ErrBranchNotFound    = errors.Error("BRANCH_NOT_FOUND")

	ErrEnvExisted     = errors.Error("ENV_EXISTED")
	ErrEnvNameExisted = errors.Error("ENV_NAME_EXISTED")
	ErrEnvNotFound    = errors.Error("ENV_NOT_FOUND")

	ErrVersionExisted  = errors.Error("VERSION_EXISTED")
	ErrVersionNotFound = errors.Error("VERSION_NOT_FOUND")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Branch

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

type BranchList

type BranchList = []*Branch

type Env

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

type EnvList

type EnvList = []*Env

type Version

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

type VersionList

type VersionList = []*Version

Directories

Path Synopsis
interface

Jump to

Keyboard shortcuts

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