notifier

package
v0.0.0-...-b80b294 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NotificationsLoop

func NotificationsLoop(gaSession analytics.Session) (stop func())

NotificationsLoop starts a goroutine to show the desktop notifications submitted by showNotification one by one with a minimum 10 seconds interval.

Returns a function to stop the loop.

func ShowNotification

func ShowNotification(note *notify.Notification, campaign string) bool

ShowNotification submits the notification to the notificationsLoop to show and waits for the result.

Types

This section is empty.

Jump to

Keyboard shortcuts

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