Documentation ¶
Overview ¶
Package main provides whole program entry point
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotiResult ¶
type Notification ¶
type Notification struct { Token string // device token for this apn Id string // apn-id Expiration string // apn-expiration Priority string // apn-priority Topic string // bundle id like com.xxx.app.haha Payload string // alert text conetent Result chan NotiResult // push result channel }
Notification define the data structure for one notification
Directories ¶
Path | Synopsis |
---|---|
Package server provides Go2apns entry point
|
Package server provides Go2apns entry point |
act like a http/2 client to APNS Package writer provides methods to write notifications to APNS and keep the http/2 connections with APNS
|
act like a http/2 client to APNS Package writer provides methods to write notifications to APNS and keep the http/2 connections with APNS |
Click to show internal directories.
Click to hide internal directories.