package
Version:
v1.2.7
Opens a new window with list of versions in this module.
Published: Mar 4, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type AlertData struct {
Title string `json:"title"`
Subtitle string `json:"subtitle"`
Body string `json:"body"`
}
type ApsData struct {
ContentAvailable int `json:"content_available"`
Alert AlertData `json:"alert"`
Badge int `json:"badge"`
Sound string `json:"sound"`
}
type PushMessageResponse struct {
StatusCode int `json:"status_code"`
APNsId string `json:"ap_ns_id"`
Reason string `json:"reason"`
}
type PushPayload struct {
Aps ApsData `json:"aps"`
Body string `json:"body"`
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.