311fe43b3c | ||
---|---|---|
.. | ||
.travis.yml | ||
CONTRIBUTING.md | ||
LICENSE | ||
MAINTAINERS | ||
README.markdown | ||
auth.go | ||
auth_anonymous.go | ||
auth_external.go | ||
auth_sha1.go | ||
call.go | ||
conn.go | ||
conn_darwin.go | ||
conn_other.go | ||
conn_unix.go | ||
conn_windows.go | ||
dbus.go | ||
decoder.go | ||
default_handler.go | ||
doc.go | ||
encoder.go | ||
export.go | ||
go.mod | ||
go.sum | ||
homedir.go | ||
homedir_dynamic.go | ||
homedir_static.go | ||
match.go | ||
message.go | ||
object.go | ||
server_interfaces.go | ||
sig.go | ||
transport_darwin.go | ||
transport_generic.go | ||
transport_nonce_tcp.go | ||
transport_tcp.go | ||
transport_unix.go | ||
transport_unixcred_dragonfly.go | ||
transport_unixcred_freebsd.go | ||
transport_unixcred_linux.go | ||
transport_unixcred_openbsd.go | ||
variant.go | ||
variant_lexer.go | ||
variant_parser.go |
README.markdown
dbus
dbus is a simple library that implements native Go client bindings for the D-Bus message bus system.
Features
- Complete native implementation of the D-Bus message protocol
- Go-like API (channels for signals / asynchronous method calls, Goroutine-safe connections)
- Subpackages that help with the introspection / property interfaces
Installation
This packages requires Go 1.7. If you installed it and set up your GOPATH, just run:
go get github.com/godbus/dbus
If you want to use the subpackages, you can install them the same way.
Usage
The complete package documentation and some simple examples are available at godoc.org. Also, the _examples directory gives a short overview over the basic usage.
Projects using godbus
- notify provides desktop notifications over dbus into a library.
- go-bluetooth provides a bluetooth client over bluez dbus API.
Please note that the API is considered unstable for now and may change without further notice.
License
go.dbus is available under the Simplified BSD License; see LICENSE for the full text.
Nearly all of the credit for this library goes to github.com/guelfey/go.dbus.