package
0.21.1
Repository: https://github.com/e154/smart-home.git
Documentation: pkg.go.dev

# README

WEBPUSH Plugin

Documentation

# Functions

GenerateVAPIDKeys will create a private and public VAPID key pair.
New ...
NewMessageParams ...
NewSettings ...
SendNotification calls SendNotificationWithContext with default context for backwards-compatibility.
SendNotificationWithContext sends a push notification to a subscription's endpoint Message Encryption for Web Push, and VAPID protocols.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Name ...
No description provided by the author
UrgencyHigh admits device state: low battery.
UrgencyLow requires device state: on either power or Wi-Fi.
UrgencyNormal excludes device state: low battery.
UrgencyVeryLow requires device state: on power and Wi-Fi.

# Variables

No description provided by the author
go:embed Readme.mdgo:embed Readme.ru.md.

# Structs

EventAddWebPushSubscription ...
EventGetUserDevices ...
EventGetWebPushPublicKey ...
EventNewWebPushPublicKey ...
EventUserDevices ...
No description provided by the author
Options are config and extra params needed to send a notification.

# Type aliases

Urgency indicates to the push service how important a message is to the user.