commit | e92e1d80da72236c66ade31b248f1f3318305992 | [log] [tgz] |
---|---|---|
author | Igor Bazhitov <ibazhitov@virtuozzo.com> | Tue Nov 02 13:43:13 2021 |
committer | John Southworth <john.southworth@gmail.com> | Fri Nov 12 16:41:14 2021 |
tree | 2c5c34d246cdc2d84cbaa49d3241f77413ab3a86 | |
parent | c76a61c1f867176da03afa76c6dc144962b241a2 [diff] |
prop: add the Prop.Introspection() method Sometimes it is convenient to generate the introspection data for properties before they are exported. For example, when the introspection data for an object is gathered before the corresponding interfaces are exported. Move the relevant pieces from Properties.Introspection() into the newly created Prop.Introspection() method, which generates the introspection data for the corresponding Prop instance using the provided property name.
dbus is a simple library that implements native Go client bindings for the D-Bus message bus system.
This packages requires Go 1.12 or later. It can be installed by running the command below:
go get github.com/godbus/dbus/v5
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.
Please note that the API is considered unstable for now and may change without further notice.
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.