Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ApnsConfig ¶
type ApnsConfig struct { Token []byte `json:"token"` Key ids.JSONRSAPrivateKey `json:"key"` Cert ids.JSONCertificate `json:"cert"` }
FIXME: share with ids.Config
type DeviceConfig ¶
type DeviceConfig struct { FCM FCMConfig `json:"fcm"` Apns ApnsConfig `json:"apns"` SecondaryReg *ApnsConfig `json:"secondary_reg,omitempty"` }
FIXME: shared with imux
type IMux ¶
type IMux struct {
// contains filtered or unexported fields
}
func (*IMux) IsUsingApnsPushToken ¶
func (*IMux) IsUsingFCMPushToken ¶
type JSONDurationMs ¶
FIXME: shared with imux
func (*JSONDurationMs) UnmarshalJSON ¶
func (t *JSONDurationMs) UnmarshalJSON(data []byte) error
type KeepaliveResponse ¶
type KeepaliveResponse struct {
Rate JSONDurationMs `json:"rate_ms"`
}
Click to show internal directories.
Click to hide internal directories.