package
Version:
v0.0.0-...-dc24fe2
Opens a new window with list of versions in this module.
Published: Jan 31, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
HUAWEI = "huawei"
MEIZU = "meizu"
XIAOMI = "xiaomi"
OPPO = "oppo"
VIVO = "vivo"
IOS = "ios"
IOS_TOKEN = "ios-token"
)
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 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 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 struct {
AppPkgName string `json:"appPkgName" form:"-"`
AppId string `json:"appId" form:"meizu_app_id" `
ClientSecret string `json:"appSecret" form:"meizu_client_secret" `
}
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 QueryPushConfArgs struct {
AppPkgName string `json:"app_pkg_name" form:"app_pkg_name" `
}
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 struct {
AppPkgName string `json:"appPkgName" form:"-"`
AppSecret string `json:"appSecret" form:"xiaomi_app_secret" `
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.