Versions in this module Expand all Collapse all v0 v0.2.0 Jul 13, 2026 Changes in this version + type Channel struct + func New(vapidPublic, vapidPrivate, subject string, store SubscriptionStore, ...) *Channel + func (ch *Channel) Deliver(ctx context.Context, group string, payload []byte) error + type Option func(*Channel) + func WithHTTPClient(c webpushgo.HTTPClient) Option + func WithRecordSize(size uint32) Option + func WithTTL(seconds int) Option + func WithUrgency(u webpushgo.Urgency) Option + type Subscription struct + Auth string + Endpoint string + P256dh string + type SubscriptionStore interface + Get func(ctx context.Context, group string) ([]Subscription, error) + Remove func(ctx context.Context, group string, endpoint string) error