Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PushForward ¶
func (*PushForward) SetNextType ¶
func (m *PushForward) SetNextType(c int)
func (*PushForward) SetScheme ¶
func (m *PushForward) SetScheme(t string)
type PushNotify ¶
type PushNotify struct { Plats []int `json:"plats,omitempty"` IosProduction int `json:"iosProduction,omitempty"` Content string `json:"content,omitempty"` Type int `json:"type,omitempty"` }
func (*PushNotify) SetContent ¶
func (n *PushNotify) SetContent(content string)
func (*PushNotify) SetIosProduction ¶
func (n *PushNotify) SetIosProduction(iosProduction int)
func (*PushNotify) SetPlats ¶
func (n *PushNotify) SetPlats(plats []int)
func (*PushNotify) SetType ¶
func (n *PushNotify) SetType(Type int)
type PushObj ¶
type PushObj struct { Source interface{} `json:"source"` Appkey interface{} `json:"appkey"` PushTarget interface{} `json:"pushTarget,omitempty"` PushNotify interface{} `json:"pushNotify,omitempty"` PushForward interface{} `json:"pushForward,omitempty"` }
func (*PushObj) SetPushForward ¶
func (p *PushObj) SetPushForward(o *PushForward)
func (*PushObj) SetPushNotify ¶
func (p *PushObj) SetPushNotify(m *PushNotify)
func (*PushObj) SetPushTarget ¶
func (p *PushObj) SetPushTarget(no *PushTarget)
type PushTarget ¶
type PushTarget struct { Target interface{} `json:"target,omitempty"` Alias []string `json:"alias,omitempty"` }
func (*PushTarget) SetAlias ¶
func (p *PushTarget) SetAlias(alias []string)
func (*PushTarget) SetTarget ¶
func (p *PushTarget) SetTarget(target int)
Click to show internal directories.
Click to hide internal directories.