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

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.