Documentation ¶
Overview ¶
Package srv contains implementations of push services with code to send pushes to, receive responses from, and manage delivery points for the various external push service providers (ADM, APNs, GCM, and FCM)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallADM ¶
func InstallADM()
InstallADM registers the only instance of the ADM push service. It is called only once.
func InstallAPNS ¶
func InstallAPNS()
InstallAPNS registers the only instance of the APNs push service. It is called only once.
func InstallFCM ¶
func InstallFCM()
InstallFCM registers the only instance of the FCM push service. It is called only once.
func InstallGCM ¶
func InstallGCM()
InstallGCM registers the only instance of the GCM push service. It is called only once.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package apns implements sending pushes to (and receiving feedback from) APNs.
|
Package apns implements sending pushes to (and receiving feedback from) APNs. |
binary_api
Package binary_api implements a client for the old APNs binary protocol (over an encrypted TCP socket)
|
Package binary_api implements a client for the old APNs binary protocol (over an encrypted TCP socket) |
binary_api/mocks
Package mocks implements a mock APNS server, for unit tests.
|
Package mocks implements a mock APNS server, for unit tests. |
common
Package common contains common interfaces and data types for abstractions of apns request/response push protocols.
|
Package common contains common interfaces and data types for abstractions of apns request/response push protocols. |
http_api
Package http_api implements a client for the new APNs HTTP/2 API (over an encrypted HTTP/2 connection to APNs)
|
Package http_api implements a client for the new APNs HTTP/2 API (over an encrypted HTTP/2 connection to APNs) |
http_api/mocks
Package mocks implements mocks for unit testing APNs and the HTTP/2 API.
|
Package mocks implements mocks for unit testing APNs and the HTTP/2 API. |
Package cloud_messaging contains implementation details common to GCM and FCM.
|
Package cloud_messaging contains implementation details common to GCM and FCM. |
Click to show internal directories.
Click to hide internal directories.