package
0.0.0-20200409172854-0805cb333282
Repository: https://github.com/uniqush/uniqush-push.git
Documentation: pkg.go.dev

# Packages

Package mocks implements mocks for unit testing APNs and the HTTP/2 API.

# Functions

NewRequestProcessor returns a new HTTPPushProcessor using net/http DefaultClient connection pool.

# Structs

APNSErrorResponse is struct to represent JSON data returned by APNs HTTP API if push request is not successful.
HTTPPushRequestProcessor sends push notification requests to APNs using HTTP API.

# Interfaces

HTTPClient is a mockable interface for the parts of http.Client used by the APNs HTTP2 module.

# Type aliases

ClientFactory is an abstraction to create HTTPClient instances (one for each push service provider).