notification

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CancelAfter

func CancelAfter(
	ctx context.Context,
	notification notify.Notification,
	after *time.Duration,
	sound *bool,
) error

func Init added in v1.0.0

func Init(newNotifier notify.Notifier)

func Send

func Send(
	sound *bool,
	title string,
	text string,
) (notify.Notification, error)

func SendWithDuration

func SendWithDuration(
	ctx context.Context,
	duration *time.Duration,
	sound *bool,
	title string,
	text string,
) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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