apns
apns copied to clipboard
resp.Success = false and resp.Error = NO_ERRORS
The code in client.go says:
select {
case r := <-responseChannel:
resp.Success = false
resp.AppleResponse = ApplePushResponses[r[1]]
err = errors.New(resp.AppleResponse)
case <-timeoutChannel:
resp.Success = true
}
Does this set Success
to true
when the client times out?
I'm getting resp.Success
= false
and err
= NO_ERRORS
. I'm not sure how to interpret the results.