Documentation ¶
Index ¶
- Variables
- func ErrorByIncomingMessage(body *api.PushBody) error
- func PeerTypeProtobufToMPS(peerType api.PeerType) int
- func RequestPbToAns(in *api.PushBody, supportsVoIP, allowAlerts bool, topic, sound *string) (*ans.Request, error)
- func RequestPbToFcm(in *api.PushBody, allowAlerts bool) (*fcm.Message, error)
- func RequestPbToGcm(in *api.PushBody, allowAlerts bool) (*gcm.Request, error)
- type Config
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidIncomingDataType = errors.New("invalid incoming data type") ErrInvalidOutgoingDataType = errors.New("invalid outgoing data type") ErrInvalidIncomingPayloadData = errors.New("invalid incoming payload data") ErrEmptyEncryptedPayload = errors.New("encrypted push without encrypted data") ErrNotSupportedAlertPush = errors.New("alerting pushes are not supported for FCM") )
Functions ¶
func ErrorByIncomingMessage ¶
func PeerTypeProtobufToMPS ¶
func RequestPbToAns ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.