Documentation ¶
Index ¶
Constants ¶
View Source
const (
XINGE_PARAMS_COUNT = 3 //必填参数个数
)
Variables ¶
View Source
var ( XINGE_AUDIENCE_ALL = "all" XINGE_AUDIENCE_TAG = "tag" XINGE_AUDIENCE_TOKEN = "token" XINGE_AUDIENCE_TOKEN_LIST = "token_list" XINGE_AUDIENCE_ACCOUNT = "account" XINGE_AUDIENCE_ACCOUNT_LIST = "account_list" )
View Source
var ( XINGE_ENV_DEV = "dev" //开发环境 XINGE_ENV_PRODUCT = "product" //生产环境 )
View Source
var ( XINGE_PUSH_TYPE_NOTIFY = "notify" //通知 XINGE_PUSH_TYPE_MESSAGE = "message" //透传消息 )
View Source
var ( XINGE_PLATFORM_ANDROID = "android" XINGE_PLATFORM_IOS = "ios" )
View Source
var XINGE_PUSHAPI_URL = "https://openapi.xg.qq.com/v3/push/app"
Functions ¶
This section is empty.
Types ¶
type XinGe ¶
type XinGe struct {
// contains filtered or unexported fields
}
func (*XinGe) PushNotification ¶
func (x *XinGe) PushNotification(msg *push.Notification) (MsgID string, err error)
APP消息推送: 推送到信鸽服务器 platforms 指定平台(目前友盟仅支持Android)
Click to show internal directories.
Click to hide internal directories.