example

command
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2022 License: MIT Imports: 2 Imported by: 0

README

example

Access index.html

Replace the public VAPID key in index.html.

Use a tool such as SimpleHTTPServer to run a web server:

python -m SimpleHTTPServer 8000

Go to http://localhost:8000 and copy the logged subsciption from the console.

Test send a notification

Replace the public/private VAPID keys. Use the subscription you had from the first section.

go run main.go

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL