Documentation
¶
Overview ¶
Package bus provides a simplified (and more testable?) interface to DBus.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BusDaemonAddress = Address{ dbus.BUS_DAEMON_NAME, string(dbus.BUS_DAEMON_PATH), dbus.BUS_DAEMON_IFACE, }
Functions ¶
Types ¶
type DispatchMap ¶
type Endpoint ¶
type Endpoint interface { GrabName(allowReplacement bool) <-chan error WatchSignal(member string, f func(...interface{}), d func()) (Cancellable, error) WatchMethod(DispatchMap, string, ...interface{}) Signal(string, string, []interface{}) error Call(member string, args []interface{}, rvs ...interface{}) error GetProperty(property string) (interface{}, error) SetProperty(property string, suffix string, value interface{}) error WatchProperties(f func(map[string]dbus.Variant, []string), d func()) (Cancellable, error) Dial() error Close() String() string }
bus.Endpoint represents the DBus connection itself.
Directories
¶
Path | Synopsis |
---|---|
Package connectivity implements a single, simple stream of booleans to answer the question "are we connected?".
|
Package connectivity implements a single, simple stream of booleans to answer the question "are we connected?". |
Package emblemcounter can present notifications as a counter on an emblem on an item in the launcher.
|
Package emblemcounter can present notifications as a counter on an emblem on an item in the launcher. |
Package greeter retrieves information about the Lomiri Greeter using Lomiri's dbus interface
|
Package greeter retrieves information about the Lomiri Greeter using Lomiri's dbus interface |
Package haptic can present notifications as a vibration pattern using the usensord/haptic interface
|
Package haptic can present notifications as a vibration pattern using the usensord/haptic interface |
Package networkmanager wraps a couple of NetworkManager's DBus API points: the org.freedesktop.NetworkManager.state call, and listening for the StateChange signal, similarly for the primary connection and wireless enabled state.
|
Package networkmanager wraps a couple of NetworkManager's DBus API points: the org.freedesktop.NetworkManager.state call, and listening for the StateChange signal, similarly for the primary connection and wireless enabled state. |
Package notifications wraps a couple of Notifications's DBus API points: the org.freedesktop.Notifications.Notify call, and listening for the ActionInvoked signal.
|
Package notifications wraps a couple of Notifications's DBus API points: the org.freedesktop.Notifications.Notify call, and listening for the ActionInvoked signal. |
Package polld wraps the account-polld dbus interface
|
Package polld wraps the account-polld dbus interface |
Package powerd is an interface to powerd via dbus.
|
Package powerd is an interface to powerd via dbus. |
Package systemimage is a mimimal wrapper for the system-image dbus API.
|
Package systemimage is a mimimal wrapper for the system-image dbus API. |
Package testing provides an implementation of bus.Bus and bus.Endpoint suitable for testing.
|
Package testing provides an implementation of bus.Bus and bus.Endpoint suitable for testing. |
Package urfkill wraps a couple of URfkill's DBus API points to watch for flight mode state changes.
|
Package urfkill wraps a couple of URfkill's DBus API points to watch for flight mode state changes. |
Package windowstack retrieves information about the windowstack using Lomiri's dbus interface
|
Package windowstack retrieves information about the windowstack using Lomiri's dbus interface |
Click to show internal directories.
Click to hide internal directories.