Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NotificationsLoop ¶
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.
Click to show internal directories.
Click to hide internal directories.