Documentation ¶
Overview ¶
Package notify interfaces with dbus to listen to all incoming notifications. The package only supports one notification at a time, and would discard the last one if it receives a new one.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Listen ¶
func Listen() (chan *Notification, error)
Listen returns the channel which would be filled with either the notification itself or nil if it wants to close the old notification.
Types ¶
Click to show internal directories.
Click to hide internal directories.