Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Subscription ¶
type Subscription struct { DeviceID string Endpoint string Auth string P256dh string // VAPID KEY PublicKey string PrivateKey string Data []byte }
func NewSubscription ¶
func NewSubscription(deviceID, endpoint, auth, p256dh, publicKey, privateKey string, data []byte) *Subscription
func (*Subscription) Send ¶
func (s *Subscription) Send() error
func (*Subscription) Subscription ¶
func (s *Subscription) Subscription()
Click to show internal directories.
Click to hide internal directories.