Versions in this module Expand all Collapse all v1 v1.0.1 Apr 9, 2026 v1.0.0 Apr 9, 2026 Changes in this version + const MAX_TTL_VALUE + func ParseBody(req *http.Request, iface any) (err error) + func ParseSubscriptionRequest(req *http.Request) (sub *models.PushSubscription, err error) + type WebPushDetails struct + ClientId string + RecipientId string + func (w *WebPushDetails) Validate() (err error) + type WebPushRequest struct + Endpoint string + Payload []byte + func (r *WebPushRequest) Send() (res *http.Response, err error) + func (r *WebPushRequest) String() string + func (r *WebPushRequest) Validate() error + type WithPublicKey struct + func (w *WithPublicKey) String() string + type WithSalt struct + Salt []byte + func (s *WithSalt) String() string + type WithWebPushParams struct + TTL int64 + Topic string + Urgency string