iwita 445e0f60bf init-commit 5 years ago
..
.travis.yml 445e0f60bf init-commit 5 years ago
BUILD 445e0f60bf init-commit 5 years ago
CONTRIBUTING.md 445e0f60bf init-commit 5 years ago
LICENSE 445e0f60bf init-commit 5 years ago
MAINTAINERS 445e0f60bf init-commit 5 years ago
README.markdown 445e0f60bf init-commit 5 years ago
auth.go 445e0f60bf init-commit 5 years ago
auth_anonymous.go 445e0f60bf init-commit 5 years ago
auth_external.go 445e0f60bf init-commit 5 years ago
auth_sha1.go 445e0f60bf init-commit 5 years ago
call.go 445e0f60bf init-commit 5 years ago
conn.go 445e0f60bf init-commit 5 years ago
conn_darwin.go 445e0f60bf init-commit 5 years ago
conn_other.go 445e0f60bf init-commit 5 years ago
conn_unix.go 445e0f60bf init-commit 5 years ago
conn_windows.go 445e0f60bf init-commit 5 years ago
dbus.go 445e0f60bf init-commit 5 years ago
decoder.go 445e0f60bf init-commit 5 years ago
default_handler.go 445e0f60bf init-commit 5 years ago
doc.go 445e0f60bf init-commit 5 years ago
encoder.go 445e0f60bf init-commit 5 years ago
export.go 445e0f60bf init-commit 5 years ago
go.mod 445e0f60bf init-commit 5 years ago
homedir.go 445e0f60bf init-commit 5 years ago
homedir_dynamic.go 445e0f60bf init-commit 5 years ago
homedir_static.go 445e0f60bf init-commit 5 years ago
message.go 445e0f60bf init-commit 5 years ago
object.go 445e0f60bf init-commit 5 years ago
server_interfaces.go 445e0f60bf init-commit 5 years ago
sig.go 445e0f60bf init-commit 5 years ago
transport_darwin.go 445e0f60bf init-commit 5 years ago
transport_generic.go 445e0f60bf init-commit 5 years ago
transport_nonce_tcp.go 445e0f60bf init-commit 5 years ago
transport_tcp.go 445e0f60bf init-commit 5 years ago
transport_unix.go 445e0f60bf init-commit 5 years ago
transport_unixcred_dragonfly.go 445e0f60bf init-commit 5 years ago
transport_unixcred_freebsd.go 445e0f60bf init-commit 5 years ago
transport_unixcred_linux.go 445e0f60bf init-commit 5 years ago
transport_unixcred_openbsd.go 445e0f60bf init-commit 5 years ago
variant.go 445e0f60bf init-commit 5 years ago
variant_lexer.go 445e0f60bf init-commit 5 years ago
variant_parser.go 445e0f60bf init-commit 5 years ago

README.markdown

Build Status

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.