Documentation ¶
Index ¶
Constants ¶
View Source
const ( DevelopmentServer = "https://api.development.push.apple.com" ProductionServer = "https://api.push.apple.com" )
View Source
const ( ErrBadCollapseId = "BadCollapseId" ErrBadDeviceToken = "BadDeviceToken" ErrBadExpirationDate = "BadExpirationDate" ErrBadMessageId = "BadMessageId" ErrBadPriority = "BadPriority" ErrBadTopic = "BadTopic" ErrDeviceTokenNotForTopic = "DeviceTokenNotForTopic" ErrDuplicateHeaders = "DuplicateHeaders" ErrIdleTimeout = "IdleTimeout" ErrMissingDeviceToken = "MissingDeviceToken" ErrMissingTopic = "MissingTopic" ErrPayloadEmpty = "PayloadEmpty" ErrTopicDisallowed = "TopicDisallowed" ErrBadCertificate = "BadCertificate" ErrBadCertificateEnvironment = "BadCertificateEnvironment" ErrExpiredProviderToken = "ExpiredProviderToken" ErrForbidden = "Forbidden" ErrInvalidProviderToken = "InvalidProviderToken" ErrMissingProviderToken = "MissingProviderToken" ErrBadPath = "BadPath" ErrMethodNotAllowed = "MethodNotAllowed" ErrUnregistered = "Unregistered" ErrPayloadTooLarge = "PayloadTooLarge" ErrTooManyProviderTokenUpdates = "TooManyProviderTokenUpdates" ErrTooManyRequests = "TooManyRequests" ErrInternalServerError = "InternalServerError" ErrShutdown = "Shutdown" )
Variables ¶
This section is empty.
Functions ¶
func CreateToken ¶
Types ¶
type ErrorResponse ¶
func (*ErrorResponse) Error ¶
func (e *ErrorResponse) Error() string
Click to show internal directories.
Click to hide internal directories.