Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Call ¶
type Call interface { // Store returns a completed call's return values, or an error Store(retvalues ...interface{}) error }
Call represents a pending or completed D-Bus method call
type Connection ¶
type Connection interface { // Returns an Object representing the bus itself BusObject() Object // Object creates a representation of a remote D-Bus object Object(name, path string) Object // Signal registers or unregisters a channel to receive D-Bus signals Signal(ch chan<- *godbus.Signal) }
Connection represents a D-Bus connection
type Interface ¶
type Interface interface { // SystemBus returns a connection to the system bus, connecting to it // first if necessary SystemBus() (Connection, error) // SessionBus returns a connection to the session bus, connecting to it // first if necessary SessionBus() (Connection, error) }
Interface is an interface that presents a subset of the godbus/dbus API. Use this when you want to inject fakeable/mockable D-Bus behavior.
Click to show internal directories.
Click to hide internal directories.