周玉环 d906a41c2e first commit hace 3 días
..
CONTRIBUTING.md d906a41c2e first commit hace 3 días
LICENSE d906a41c2e first commit hace 3 días
MAINTAINERS d906a41c2e first commit hace 3 días
README.md d906a41c2e first commit hace 3 días
auth.go d906a41c2e first commit hace 3 días
auth_anonymous.go d906a41c2e first commit hace 3 días
auth_external.go d906a41c2e first commit hace 3 días
auth_sha1.go d906a41c2e first commit hace 3 días
call.go d906a41c2e first commit hace 3 días
conn.go d906a41c2e first commit hace 3 días
conn_darwin.go d906a41c2e first commit hace 3 días
conn_other.go d906a41c2e first commit hace 3 días
conn_unix.go d906a41c2e first commit hace 3 días
conn_windows.go d906a41c2e first commit hace 3 días
dbus.go d906a41c2e first commit hace 3 días
decoder.go d906a41c2e first commit hace 3 días
default_handler.go d906a41c2e first commit hace 3 días
doc.go d906a41c2e first commit hace 3 días
encoder.go d906a41c2e first commit hace 3 días
escape.go d906a41c2e first commit hace 3 días
export.go d906a41c2e first commit hace 3 días
homedir.go d906a41c2e first commit hace 3 días
match.go d906a41c2e first commit hace 3 días
message.go d906a41c2e first commit hace 3 días
object.go d906a41c2e first commit hace 3 días
sequence.go d906a41c2e first commit hace 3 días
sequential_handler.go d906a41c2e first commit hace 3 días
server_interfaces.go d906a41c2e first commit hace 3 días
sig.go d906a41c2e first commit hace 3 días
transport_darwin.go d906a41c2e first commit hace 3 días
transport_generic.go d906a41c2e first commit hace 3 días
transport_nonce_tcp.go d906a41c2e first commit hace 3 días
transport_tcp.go d906a41c2e first commit hace 3 días
transport_unix.go d906a41c2e first commit hace 3 días
transport_unixcred_dragonfly.go d906a41c2e first commit hace 3 días
transport_unixcred_freebsd.go d906a41c2e first commit hace 3 días
transport_unixcred_linux.go d906a41c2e first commit hace 3 días
transport_unixcred_netbsd.go d906a41c2e first commit hace 3 días
transport_unixcred_openbsd.go d906a41c2e first commit hace 3 días
transport_zos.go d906a41c2e first commit hace 3 días
variant.go d906a41c2e first commit hace 3 días
variant_lexer.go d906a41c2e first commit hace 3 días
variant_parser.go d906a41c2e first commit hace 3 días

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.

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.