push_conf_args

package
v0.0.0-...-dc24fe2 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HUAWEI    = "huawei"
	MEIZU     = "meizu"
	XIAOMI    = "xiaomi"
	OPPO      = "oppo"
	VIVO      = "vivo"
	IOS       = "ios"
	IOS_TOKEN = "ios-token"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AppCfgUpdateArgs

type AppCfgUpdateArgs struct {
	AppPkgName string
	Platform   string
	Timestamp  int64
	Extra      string
}

type HUAWEIConfArgs

type HUAWEIConfArgs struct {
	AppPkgName   string `json:"appPkgName" form:"-"`
	ClientId     string `json:"clientId" form:"huawei_client_id" `
	ClientSecret string `json:"clientSecret" form:"huawei_client_secret" `
}

type IOSCertConfArgs

type IOSCertConfArgs struct {
	IsSandBox bool   `json:"isSandBox" form:"ios_cert_is_sand_box" `
	Password  string `json:"password" form:"ios_cert_password" `
	CertPath  string `json:"certPath"`
}

type IOSTokenConfArgs

type IOSTokenConfArgs struct {
	IsSandBox  bool   `json:"isSandBox" form:"ios_token_is_sand_box" `
	TeamId     string `json:"teamId" form:"ios_token_team_id" `
	KeyId      string `json:"keyId" form:"ios_token_key_id" `
	BundleId   string `json:"bundleId"`
	SecretFile string `json:"secretFile"`
}

type MEIZUConfArgs

type MEIZUConfArgs struct {
	AppPkgName   string `json:"appPkgName" form:"-"`
	AppId        string `json:"appId" form:"meizu_app_id" `
	ClientSecret string `json:"appSecret" form:"meizu_client_secret" `
}

type OPPOConfArgs

type OPPOConfArgs struct {
	AppPkgName   string `json:"appPkgName" form:"-" `
	AppKey       string `json:"appKey" form:"oppo_app_key" `
	MasterSecret string `json:"masterSecret" form:"oppo_master_secret" `
}

type PushConfJson

type PushConfJson struct {
	*HUAWEIConfArgs   `json:"huawei"`
	*MEIZUConfArgs    `json:"meizu"`
	*XIAOMIConfArgs   `json:"xiaomi"`
	*OPPOConfArgs     `json:"oppo"`
	*VIVOConfArgs     `json:"vivo"`
	*IOSCertConfArgs  `json:"ios"`
	*IOSTokenConfArgs `json:"ios-token"`
}

type QueryPushConfArgs

type QueryPushConfArgs struct {
	AppPkgName string `json:"app_pkg_name" form:"app_pkg_name" `
}

type VIVOConfArgs

type VIVOConfArgs struct {
	AppPkgName string `json:"appPkgName" form:"-"`
	AppId      string `json:"appId" form:"vivo_app_id" `
	AppKey     string `json:"appKey" form:"vivo_app_key" `
	AppSecret  string `json:"appSecret" form:"vivo_app_secret" `
}

type XIAOMIConfArgs

type XIAOMIConfArgs struct {
	AppPkgName string `json:"appPkgName" form:"-"`
	AppSecret  string `json:"appSecret" form:"xiaomi_app_secret" `
}

Jump to

Keyboard shortcuts

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