Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppMessage ¶
type AppMessage struct {
Notification AppMessageNotification `json:"notification"`
}
func NewStandardPushMessage ¶
func NewStandardPushMessage(summary string, body string) *AppMessage
creates a new PushMessage
type AppMessageCard ¶
type AppMessageEmblemCounter ¶
type AppMessageNotification ¶
type AppMessageNotification struct { Tag string `json:"tag"` Card AppMessageCard `json:"card"` Sound bool `json:"sound"` Vibrate bool `json:"vibrate"` EmblemCounter AppMessageEmblemCounter `json:"emblem-counter"` }
type PushMessage ¶
type PushMessage struct {
Notification string `json:"notification"`
}
Click to show internal directories.
Click to hide internal directories.