push

package
v0.0.0-...-2c276d8 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize(cfg *Config)

func Notify

func Notify(message string, subscriber *user.Subscription) error

Types

type Config

type Config struct {
	Key *VAPIDKey `yaml:"key"`
}

type Notifier

type Notifier struct {
	// contains filtered or unexported fields
}

type VAPIDKey

type VAPIDKey struct {
	Private string `yaml:"private"`
	Public  string `yaml:"public"`
}

Jump to

Keyboard shortcuts

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