_examples
.github
introspect
prop
testdata
.golangci.yml
auth_anonymous.go
auth_default_other.go
auth_default_windows.go
auth_external.go
auth_sha1_windows.go
auth.go
call.go
conn_darwin_test.go
conn_darwin.go
conn_js.go
conn_linux_test.go
conn_other.go
conn_test.go
conn_unix.go
conn_windows_test.go
conn_windows.go
conn.go
CONTRIBUTING.md
dbus_test.go
dbus.go
decoder_test.go
decoder.go
default_handler.go
doc.go
encoder_test.go
encoder.go
escape_test.go
escape.go
examples_test.go
exec_command_test.go
export_test.go
export.go
go.mod
go.sum
LICENSE
MAINTAINERS
match_test.go
match.go
message_test.go
message.go
object_test.go
object.go
proto_fuzz_test.go
proto_test.go
README.md
SECURITY.md
sequence_test.go
sequence.go
sequential_handler_test.go
sequential_handler.go
server_interfaces_test.go
server_interfaces.go
sig_test.go
sig.go
store_test.go
transport_darwin.go
transport_generic.go
transport_no_tcp_test.go
transport_nonce_tcp_test.go
transport_nonce_tcp.go
transport_tcp_test.go
transport_tcp.go
transport_unix_test.go
transport_unix.go
transport_unixcred_dragonfly.go
transport_unixcred_freebsd.go
transport_unixcred_linux.go
transport_unixcred_netbsd.go
transport_unixcred_openbsd.go
transport_zos.go
variant_lexer.go
variant_parser.go
variant_test.go
variant.go
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
Usage
The complete package documentation and some simple examples are available at pkg.go.dev. Also, the _examples directory gives a short overview over the basic usage.
Projects using godbus
- bluetooth: cross-platform Bluetooth API for Go and TinyGo.
- fyne: a cross platform GUI in Go inspired by Material Design.
- fynedesk: a full desktop environment for Linux/Unix using Fyne.
- go-systemd: Go bindings to systemd.
- notify provides desktop notifications over dbus into a library.
Please note that the API is considered unstable for now and may change without further notice.
License
The library is available under the Simplified BSD License; see LICENSE for the full text.
Nearly all of the credit for this library goes to https://github.com/guelfey.