Versions in this module Expand all Collapse all v0 v0.1.0 Aug 10, 2019 Changes in this version + func GetCapabilities(conn *dbus.Conn) ([]string, error) + func SendNotification(conn *dbus.Conn, note Notification) (uint32, error) + type ActionInvokedSignal struct + ActionKey string + ID uint32 + type Notification struct + Actions []string + AppIcon string + AppName string + Body string + ExpireTimeout int32 + Hints map[string]dbus.Variant + ReplacesID uint32 + Summary string + type NotificationClosedSignal struct + ID uint32 + Reason Reason + type Notifier interface + ActionInvoked func() <-chan *ActionInvokedSignal + Close func() error + CloseNotification func(id int) (bool, error) + GetCapabilities func() ([]string, error) + GetServerInformation func() (ServerInformation, error) + NotificationClosed func() <-chan *NotificationClosedSignal + SendNotification func(n Notification) (uint32, error) + func New(conn *dbus.Conn) (Notifier, error) + type Reason uint32 + const ReasonClosedByCall + const ReasonDismissedByUser + const ReasonExpired + const ReasonUnknown + func (r Reason) String() string + type ServerInformation struct + Name string + SpecVersion string + Vendor string + Version string + func GetServerInformation(conn *dbus.Conn) (ServerInformation, error)