notify

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

func NewManager

func NewManager(logger *slog.Logger) (*Manager, error)

func (*Manager) Send

func (m *Manager) Send(payload []byte)

func (*Manager) Subscribe

func (m *Manager) Subscribe(sub *webpush.Subscription)

func (*Manager) Unsubscribe

func (m *Manager) Unsubscribe(endpoint string)

func (*Manager) VAPIDPublicKey

func (m *Manager) VAPIDPublicKey() string

Jump to

Keyboard shortcuts

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