proxy.golang.org : github.com/nanu-c/notify
Package notify is a wrapper around godbus for dbus notification interface See: https://developer.gnome.org/notification-spec/ and https://github.com/godbus/dbus The package provides exported methods for simple usage, e.g. just show a notification. It also provides the interface Notifier that includes event delivery for notifications. Note that if you use New() to create a notifier, it is the caller responsibility to also drain the channels for ActionInvoked() and NotificationClosed(). Each notification created is allocated a unique ID by the server (see Notification). This ID is unique within the dbus session, and is an increasing number. While the notification server is running, the ID will not be recycled unless the capacity of a uint32 is exceeded. The ID can be used to hide the notification before the expiration timeout is reached (see CloseNotification). The ID can also be used to atomically replace the notification with another (Notification.ReplaceID). This allows you to (for instance) modify the contents of a notification while it's on-screen.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/nanu-c/notify
License: GPL-3.0
Latest release: about 7 years ago
First release: about 7 years ago
Namespace: github.com/nanu-c
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 29 days ago