package
0.0.0-20241008062836-5374d8615e54
Repository: https://github.com/home-assistant/plugin-dns.git
Documentation: pkg.go.dev
# README
Generating api.go
File was generated using dbus-codegen-go from the interface of org.freedesktop.resolve1. To get the XML representation of the interface, use the following:
gdbus introspect \
--xml --system \
--dest org.freedesktop.resolve1 \
--object-path /org/freedesktop/resolve1
To regenerate the file from this XML, use the following:
dbus-codegen-go \
-package=resolve1 \
-client-only \
-camelize \
-prefix=org.freedesktop.resolve1 \
-only=org.freedesktop.resolve1.Manager
Unfortunately some post-processing changes are required after generation or it won't compile. Post-generation, make the following changes:
# Functions
NewManager creates and allocates org.freedesktop.resolve1.Manager.
# Constants
Interface name constants.