version

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package version is a generated protocol buffer package.

It is generated from these files:

version.proto

It has these top-level messages:

VerUpdate

Index

Constants

View Source
const (
	PlatAndroid  = int8(0)
	PlatIPhone   = int8(1)
	PlatIPad     = int8(2)
	PlatWinPhone = int8(3)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Incremental

type Incremental struct {
	ID            int    `json:"-"`
	TargetVersion string `json:"-"`
	TargetBuild   int    `json:"-"`
	TargetID      string `json:"new_id"`
	SourceVersion string `json:"-"`
	SourceBuild   int    `json:"-"`
	SourceID      string `json:"old_id"`
	TaskID        string `json:"-"`
	FilePath      string `json:"-"`
	URL           string `json:"url"`
	Md5           string `json:"md5"`
	Size          int    `json:"size"`
	Policy        int    `json:"-"`
	Plat          int8   `json:"-"`
	Build         int    `json:"-"`
}

Incremental version Incremental

type Rn

type Rn struct {
	ID            int    `json:"-"`
	DeploymentKey string `json:"-"`
	BundleID      string `json:"bundle_id"`
	URL           string `json:"url"`
	Md5           string `json:"md5"`
	Size          int    `json:"size"`
	Version       string `json:"-"`
}

Rn

type UpdateLimit

type UpdateLimit struct {
	ID         int    `json:"-"`
	BuildLimit int    `json:"-"`
	Conditions string `json:"-"`
}

type VerUpdate

type VerUpdate struct {
	Ver     string `protobuf:"bytes,1,opt,name=ver" json:"ver,omitempty"`
	Build   int32  `protobuf:"varint,2,opt,name=build" json:"build,omitempty"`
	Info    string `protobuf:"bytes,3,opt,name=info" json:"info,omitempty"`
	Size    int32  `protobuf:"varint,4,opt,name=size" json:"size,omitempty"`
	Url     string `protobuf:"bytes,5,opt,name=url" json:"url,omitempty"`
	Hash    string `protobuf:"bytes,6,opt,name=hash" json:"hash,omitempty"`
	Policy  int32  `protobuf:"varint,7,opt,name=policy" json:"policy,omitempty"`
	IsForce int32  `protobuf:"varint,8,opt,name=isForce" json:"isForce,omitempty"`
	IsGray  int32  `protobuf:"varint,9,opt,name=isGray" json:"isGray,omitempty"`
	Mtime   int64  `protobuf:"varint,10,opt,name=mtime" json:"mtime,omitempty"`
}

func (*VerUpdate) Descriptor

func (*VerUpdate) Descriptor() ([]byte, []int)

func (*VerUpdate) ProtoMessage

func (*VerUpdate) ProtoMessage()

func (*VerUpdate) Reset

func (m *VerUpdate) Reset()

func (*VerUpdate) String

func (m *VerUpdate) String() string

type Version

type Version struct {
	Id      int        `json:"-"`
	Plat    int8       `json:"plat"`
	Desc    string     `json:"desc"`
	Version string     `json:"version"`
	Build   int        `json:"build"`
	PTime   xtime.Time `json:"ptime"`
}

type VersionSo

type VersionSo struct {
	Id           int    `json:"-"`
	Package      string `json:"-"`
	Name         string `json:"-"`
	Description  string `json:"-"`
	Clear        int    `json:"-"`
	Ver_code     int    `json:"ver_code"`
	Ver_name     string `json:"ver_name"`
	Url          string `json:"url"`
	Size         int    `json:"size"`
	Enable_state int    `json:"enable"`
	Force_state  int    `json:"force"`
	Md5          string `json:"md5"`
	Min_build    int    `json:"min_build"`
	Coverage     int    `json:"-"`
	Sdkint       int    `json:"-"`
	Model        string `json:"-"`
}

type VersionSoDesc

type VersionSoDesc struct {
	Package     string       `json:"package"`
	Name        string       `json:"name"`
	Description string       `json:"desc"`
	Clear       int          `json:"clear"`
	Versions    []*VersionSo `json:"versions"`
}

type VersionUpdate

type VersionUpdate struct {
	Id         int                 `json:"-"`
	Channel    string              `json:"-"`
	Coverage   int                 `json:"-"`
	Version    string              `json:"ver"`
	Build      int                 `json:"build"`
	Desc       string              `json:"info"`
	State      int                 `json:"-"`
	Size       string              `json:"size"`
	Url        string              `json:"url"`
	MD5        string              `json:"hash"`
	SdkInts    string              `json:"-"`
	SdkIntList map[string]struct{} `json:"-"`
	Model      string              `json:"-"`
	Policy     int                 `json:"policy"`
	Plat       int8                `json:"-"`
	IsForce    int                 `json:"is_force"`
	IsPush     int                 `json:"is_push"`
	PolicyName string              `json:"-"`
	IsGray     int                 `json:"is_gray"`
	PolicyURL  string              `json:"policy_url,omitempty"`
	BuvidStart int                 `json:"-"`
	BuvidEnd   int                 `json:"-"`
	Mtime      xtime.Time          `json:"mtime"`
	Incre      *Incremental        `json:"patch,omitempty"`
}

func (*VersionUpdate) VersionUpdateChange

func (v *VersionUpdate) VersionUpdateChange()

VersionUpdateChange version update change

Jump to

Keyboard shortcuts

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