umeng

package
v0.0.0-...-fad388b Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2016 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AndroidBody

type AndroidBody struct {
	Ticker      string      `json:"ticker,omitempty"`
	Title       string      `json:"title,omitempty"`
	Text        string      `json:"text,omitempty"`
	Sound       string      `json:"sound,omitempty"`
	PlayVibrate string      `json:"play_vibrate,omitempty"`
	PlayLights  string      `json:"play_lights,omitempty"`
	PlaySound   string      `json:"play_sound,omitempty"`
	AfterOpen   string      `json:"after_open,omitempty"`
	Url         string      `json:"url,omitempty"`
	Activity    string      `json:"activity,omitempty"`
	Custom      interface{} `json:"custom,omitempty"`
}

type Data

type Data struct {
	AppKey         string      `json:"appkey,omitempty"`
	Timestamp      string      `json:"timestamp,omitempty"`
	Type           string      `json:"type,omitempty"`
	DeviceTokens   string      `json:"device_tokens,omitempty"`
	AliasType      string      `json:"alias_type,omitempty"`
	FileId         string      `json:"file_id,omitempty"`
	Filter         string      `json:"filter,omitempty"`
	Payload        interface{} `json:"payload,omitempty"`
	ProductionMode bool        `json:"production_mode"`
	Description    string      `json:"Description,omitempty"`
	ThirdPartyId   string      `json:"thirdparty_id,omitempty"`
}

type IosApns

type IosApns struct {
	Alert            *IosApnsAlert `json:"alert,omitempty"`
	Badge            int           `json:"badge,omitempty"`
	Sound            string        `json:"sound,omitempty"`
	ContentAvailable int           `json:"content-available,omitempty"`
	Category         string        `json:"category,omitempty"`
}

type IosApnsAlert

type IosApnsAlert struct {
	Title        string   `json:"title,omitempty"`
	Body         string   `json:"body,omitempty"`
	ActionLocKey string   `json:"action-loc-key,omitempty"`
	LocKey       string   `json:"loc-key,omitempty"`
	LocArgs      []string `json:"loc-args,omitempty"`
	LaunchImage  string   `json:"launch-image,omitempty"`
}

type Umeng

type Umeng struct{}

func (Umeng) Name

func (_ Umeng) Name() string

func (Umeng) PushNotif

func (u Umeng) PushNotif(pushInfo map[appgo.Id]*appgo.PushInfo, content *appgo.PushData)

Jump to

Keyboard shortcuts

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