Package Usage: go: github.com/godbus/dbus/v5
Package dbus implements bindings to the D-Bus message bus system.
To use the message bus API, you first need to connect to a bus (usually the
session or system bus). The acquired connection then can be used to call methods
on remote objects and emit or receive signals. Using the Export method, you can
arrange D-Bus methods calls to be directly translated to method calls on a Go
value.
For outgoing messages, Go types are automatically converted to the
corresponding D-Bus types. See the official specification at
https://dbus.freedesktop.org/doc/dbus-specification.html#type-system for more
information on the D-Bus type system. The following types are directly encoded
as their respective D-Bus equivalents:
Slices and arrays encode as ARRAYs of their element type.
Maps encode as DICTs, provided that their key type can be used as a key for
a DICT.
Structs other than Variant and Signature encode as a STRUCT containing their
exported fields in order. Fields whose tags contain `dbus:"-"` and unexported
fields will be skipped.
Pointers encode as the value they're pointed to.
Types convertible to one of the base types above will be mapped as the
base type.
Trying to encode any other type or a slice, map or struct containing an
unsupported type will result in an InvalidTypeError.
For incoming messages, the inverse of these rules are used, with the exception
of STRUCTs. Incoming STRUCTS are represented as a slice of empty interfaces
containing the struct fields in the correct order. The Store function can be
used to convert such values to Go structs.
Handling Unix file descriptors deserves special mention. To use them, you should
first check that they are supported on a connection by calling SupportsUnixFDs.
If it returns true, all method of Connection will translate messages containing
UnixFD's to messages that are accompanied by the given file descriptors with the
UnixFD values being substituted by the correct indices. Similarly, the indices
of incoming messages are automatically resolved. It shouldn't be necessary to use
UnixFDIndex.
8 versions
Latest release: presque 4 ans ago
5 533 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/godbus/dbus/v5
Dependent Repos 13
1024pix/steampipe-plugin-metabase
Use SQL to query databases, tables, permissions and more from MetabaseSize: 1,23 Mo - Last synced: 1 jour ago - Pushed: 3 jours ago
snps-public/cephfs-foldersize-exporter
Prometheus exporter for CephFS various folder sizesLast synced: environ un an ago - Pushed: plus d'un an ago
snps-public/rest-samba-config
Rest API used to view (and maybe at some point edit) Samba configurationLast synced: environ un an ago - Pushed: plus d'un an ago
swh/infra/ci-cd/3rdparty/cert-manager-webhook-gandi
Last synced: environ un an ago - Pushed: plus d'un an ago
cea-hpc/sshproxy
Proxy SSH connections on a gatewaySize: 10,2 Mo - Last synced: 3 jours ago - Pushed: environ un mois ago
1024pix/go-metabase Fork of grokify/go-metabase
Go Client SDK for Metabase - https://github.com/metabase/metabaseSize: 364 ko - Last synced: 1 jour ago - Pushed: 3 jours ago
1024pix/goauth Fork of grokify/goauth
Utility libraries for Go (aka Golang) API auth including OAuth 2, JWT, TLS Client Authentication and Basic Auth.Size: 737 ko - Last synced: 1 jour ago - Pushed: plus d'un an ago
signaux-faibles/wekan-alerter
wekan-alerterSize: 44,9 ko - Last synced: 5 jours ago - Pushed: presque 3 ans ago
signaux-faibles/prepare-import
đŸ“¥ Scripts de prĂ©paration Ă l'importation de donnĂ©es dans le processus d'intĂ©grationSize: 216 ko - Last synced: 5 jours ago - Pushed: 3 mois ago
radiofrance/helm-chart-sonarqube Fork of SonarSource/helm-chart-sonarqube
Size: 2,99 Mo - Last synced: environ un an ago - Pushed: plus d'un an ago
web-et-numerique/factory/llle_project/cozy-stack
Fork of cozy-stack https://github.com/cozy/cozy-stackLast synced: environ un an ago
SocialGouv/k8s-csi-s3 Fork of yandex-cloud/k8s-csi-s3
GeeseFS-based CSI for mounting S3 buckets as PersistentVolumesSize: 231 ko - Last synced: 3 jours ago - Pushed: plus d'un an ago
InseeFrLab/utils
A collection of scripts that may have been used at some point :)Size: 41 ko - Last synced: 3 jours ago - Pushed: environ 2 ans ago