Documentation
¶
Overview ¶
Package dbus is a small session bus client written from the D-Bus specification: just enough to own a well-known name and to call or serve org.freedesktop.Application.Open and Activate. Little-endian only.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
Conn is a session bus connection. One goroutine at a time: setup calls first, then Serve.
func Connect ¶
Connect opens the session bus, authenticates with EXTERNAL and says Hello. A missing bus is an error.
func (*Conn) Open ¶
Open calls org.freedesktop.Application.Open on the owner of name, or Activate when uris is empty.
func (*Conn) RequestName ¶
RequestName asks for name without queueing; true means this connection owns it now.