Versions in this module Expand all Collapse all v5 v5.0.5 Jan 31, 2020 Changes in this version + const IntrospectDataString + var ErrIfaceNotFound = dbus.NewError("org.freedesktop.DBus.Properties.Error.InterfaceNotFound", nil) + var ErrInvalidArg = dbus.NewError("org.freedesktop.DBus.Properties.Error.InvalidArg", nil) + var ErrPropNotFound = dbus.NewError("org.freedesktop.DBus.Properties.Error.PropertyNotFound", nil) + var ErrReadOnly = dbus.NewError("org.freedesktop.DBus.Properties.Error.ReadOnly", nil) + var IntrospectData = introspect.Interface + type Change struct + Iface string + Name string + Props *Properties + Value interface{} + type EmitType byte + const EmitFalse + const EmitInvalidates + const EmitTrue + type Prop struct + Callback func(*Change) *dbus.Error + Emit EmitType + Value interface{} + Writable bool + type Properties struct + func Export(conn *dbus.Conn, path dbus.ObjectPath, props map[string]map[string]*Prop) (*Properties, error) + func New(conn *dbus.Conn, path dbus.ObjectPath, props map[string]map[string]*Prop) *Properties + func (p *Properties) Get(iface, property string) (dbus.Variant, *dbus.Error) + func (p *Properties) GetAll(iface string) (map[string]dbus.Variant, *dbus.Error) + func (p *Properties) GetMust(iface, property string) interface{} + func (p *Properties) Introspection(iface string) []introspect.Property + func (p *Properties) Set(iface, property string, newv dbus.Variant) *dbus.Error + func (p *Properties) SetMust(iface, property string, v interface{}) Other modules containing this package github.com/opendoor-labs/dbus