Merge pull request #322 from godbus/fix_ci

CI: Go 1.18 fixes
tree: 238dbd021b153a18b1cc6cae9d50367b2d8217d1
  1. .github/
  2. _examples/
  3. introspect/
  4. prop/
  5. .golangci.yml
  6. auth.go
  7. auth_anonymous.go
  8. auth_external.go
  9. auth_sha1.go
  10. call.go
  11. conn.go
  12. conn_darwin.go
  13. conn_other.go
  14. conn_test.go
  15. conn_unix.go
  16. conn_windows.go
  17. CONTRIBUTING.md
  18. dbus.go
  19. dbus_test.go
  20. decoder.go
  21. decoder_test.go
  22. default_handler.go
  23. doc.go
  24. encoder.go
  25. encoder_test.go
  26. escape.go
  27. escape_test.go
  28. examples_test.go
  29. exec_command_test.go
  30. export.go
  31. export_test.go
  32. go.mod
  33. go.sum
  34. homedir.go
  35. LICENSE
  36. MAINTAINERS
  37. match.go
  38. match_test.go
  39. message.go
  40. message_test.go
  41. object.go
  42. object_test.go
  43. proto_test.go
  44. README.md
  45. sequence.go
  46. sequence_test.go
  47. sequential_handler.go
  48. sequential_handler_test.go
  49. server_interfaces.go
  50. server_interfaces_test.go
  51. sig.go
  52. sig_test.go
  53. store_test.go
  54. transport_darwin.go
  55. transport_generic.go
  56. transport_nonce_tcp.go
  57. transport_nonce_tcp_test.go
  58. transport_tcp.go
  59. transport_tcp_test.go
  60. transport_unix.go
  61. transport_unix_test.go
  62. transport_unixcred_dragonfly.go
  63. transport_unixcred_freebsd.go
  64. transport_unixcred_linux.go
  65. transport_unixcred_netbsd.go
  66. transport_unixcred_openbsd.go
  67. transport_zos.go
  68. variant.go
  69. variant_lexer.go
  70. variant_parser.go
  71. variant_test.go
README.md

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.12 or later. It can be installed by running the command below:

go get github.com/godbus/dbus/v5

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

  • fyne a cross platform GUI in Go inspired by Material Design.
  • fynedesk a full desktop environment for Linux/Unix using Fyne.
  • go-bluetooth provides a bluetooth client over bluez dbus API.
  • iwd go bindings for the internet wireless daemon “iwd”.
  • notify provides desktop notifications over dbus into a library.
  • playerbm a bookmark utility for media players.
  • rpic lightweight web app and RESTful API for managing a Raspberry Pi

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.