Clone this repo:
  1. 7914b92 Merge pull request #433 from smu-ggl/patch-1 by Georg Reinke · 2 months ago master
  2. 0ea10b7 mediakeys.go example: Fix error handling. by Sven Mueller · 3 months ago
  3. 9ae69ea Merge pull request #430 from kolyshkin/ptr by Georg Reinke · 3 months ago
  4. a12ae41 Switch from reflect.Ptr to reflect.Pointer by Kir Kolyshkin · 3 months ago
  5. 399fd76 Merge pull request #431 from kolyshkin/readme by Georg Reinke · 3 months ago

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.