Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendMessageOne ¶
SendMessageOne send message to one token/device return
func ValidateToken ¶
ValidateToken validate valid token if not return an error
Types ¶
type Message ¶
type Message struct { Token string Title string Body string Topic string Data map[string]string // Apple / iOS Subtitle string ActioniOS string // Android ActionAndroid string // Webpush ActionWebPush string CustomData map[string]interface{} BadgeIconImage string SoundWebPush string TagsCategory string }
Message contain all information message
Click to show internal directories.
Click to hide internal directories.