apns2
apns2 copied to clipboard
⚡ HTTP/2 Apple Push Notification Service (APNs) push provider for Go — Send push notifications to iOS, tvOS, Safari and OSX apps, using the APNs HTTP/2 protocol.
Apple allows you to use port 2197 instead of 443 when sending notifications to APNs. This PR implements a function that appends ":2197" to the client's host. Note: If you...
Actually on nil notification it panics before as well, so maybe adding nil check to MarshalJSON or on other function may be good, what do you think?
Doc string states that it's return response in case of success or an error in case of error
Truth be told, json decoder allocates more, it allocates decoder itself and also have logic/buffers related to stream processing which results in slower single JSON record decoding speed. Also reusing...
This interface pretty common and nowadays everybody known with it.
Hi, I think you should consider getting the push urls from a config file, and it should be optional for the consumer to change it when calling apns2 api; ```...
Early this morning I started getting "x509: certificate signed by unknown authority" error messages in my console. After investigating, it appears that a bunch of services (including Heroku, which I...
`ClientManager` is a great class, it would be nice to have a version of this class (`TokenClientManager`?) which works for JWT/Auth token based clients. It looks like this could be...
in my program, i made 1000 goroutines for concurrency send msg to apple; when i check my log, i find a lot of error returns when i call client.Push, the...
We are using .p12 certificates to send push notification via api in docker containers. we did not import any certificates to docker containers. We have received a mail like this:...