Versions in this module Expand all Collapse all v1 v1.0.0 Jul 29, 2014 Changes in this version + const TCP_FRAME_MAX + var APPLE_PUSH_RESPONSES = map[uint8]string + type APNSConfig struct + CertificateBytes []byte + FramingTimeout int + GatewayHost string + GatewayPort string + InFlightPayloadBufferSize int + KeyBytes []byte + MaxOutboundTCPFrameSize int + MaxPayloadSize int + type APNSConnection struct + CloseChannel chan *ConnectionClose + SendChannel chan *Payload + func NewAPNSConnection(config *APNSConfig) (*APNSConnection, error) + func (c *APNSConnection) Disconnect() + type AppleError struct + ErrorCode uint8 + ErrorString string + MessageID uint32 + type ConnectionClose struct + Error *AppleError + ErrorPayload *Payload + UnsentPayloadBufferOverflow bool + UnsentPayloads *list.List + type Payload struct + ActionLocKey string + AlertText string + Badge int + ContentAvailable int + CustomFields map[string]interface{} + ExpirationTime uint32 + ExtraData interface{} + LaunchImage string + LocArgs []string + LocKey string + Priority uint8 + Sound string + Token string + func (p *Payload) Marshal(maxPayloadSize int) ([]byte, error) Incompatible versions in this module v3.0.0+incompatible Mar 17, 2015 v2.0.0+incompatible Feb 13, 2015