notify

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notifier

type Notifier interface {
	// Send delivers the given message string to this Notifier; returns nil on success or non-nil in case of an error
	Send(message string) error
}

Notifier defines the contract for receivers of incoming push notifications

func New

func New(target string) Notifier

New returns a default implementation of Notifier

Jump to

Keyboard shortcuts

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