blob: 90d535b5ba97230d97246f5ddb326f88f8baac53 (
plain)
1
2
3
4
5
6
7
8
9
|
package notify
import webpush "github.com/SherClockHolmes/webpush-go"
// GenerateVAPIDKeys generates a VAPID key pair for web push notifications.
// Returns the base64url-encoded public and private keys.
func GenerateVAPIDKeys() (publicKey, privateKey string, err error) {
return webpush.GenerateVAPIDKeys()
}
|