Closed nathany closed 8 years ago
Using x/net/http2 directly instead of ConfigureTransport could allow support for Go 1.5.x (if desired), and make it so NewClient() doesn't return an error.
https://github.com/sideshow/apns2/blob/master/client.go#L60
With Go 1.7 coming out in a few months, I don't see a lot of value in adding support for Go 1.5. But not needing to return an error would be nice.
Using x/net/http2 directly instead of ConfigureTransport could allow support for Go 1.5.x (if desired), and make it so NewClient() doesn't return an error.
https://github.com/sideshow/apns2/blob/master/client.go#L60