Versions in this module Expand all Collapse all v0 v0.6.0 Jan 9, 2024 Changes in this version + const Development + const Development2197 + const Production + const Production2197 + func ClientWithCert(client *http.Client, cert *tls.Certificate) (*http.Client, error) + type Doer interface + Do func(req *http.Request) (*http.Response, error) + type Factory struct + func NewFactory(opts ...Option) *Factory + func (f *Factory) NewPushProvider(cert *tls.Certificate) (push.PushProvider, error) + type JSONPushError struct + Reason string + Timestamp int64 + func (e *JSONPushError) Error() string + type NewClient func(*tls.Certificate) (*http.Client, error) + type Option func(*Factory) + func WithExpiration(expiration time.Duration) Option + func WithNewClient(newClient NewClient) Option + func WithWorkers(workers int) Option + type Provider struct + func (p *Provider) Push(ctx context.Context, pushInfos []*mdm.Push) (map[string]*push.Response, error)