ios_channel

package
v1.2.11 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PayloadTemplate = `` /* 135-byte string literal not displayed */
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AlertData added in v1.2.1

type AlertData struct {
	Title    string `json:"title"`
	Subtitle string `json:"subtitle"`
	Body     string `json:"body"`
}

type ApsData added in v1.2.1

type ApsData struct {
	ContentAvailable int       `json:"content_available"`
	Alert            AlertData `json:"alert"`
	Badge            int       `json:"badge"`
	Sound            string    `json:"sound"`
}

type PushMessageResponse

type PushMessageResponse struct {
	StatusCode int    `json:"status_code"`
	APNsId     string `json:"ap_ns_id"`
	Reason     string `json:"reason"`
}

type PushPayload added in v1.2.1

type PushPayload struct {
	Aps  ApsData `json:"aps"`
	Body string  `json:"body"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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