I was following this code snippet dbus/introspect.go at c88335c0b1d28a30e7fc76d526a06154b85e5d97 · godbus/dbus · GitHub
and changed the line like this
node, err := introspect.Call(conn.Object("io.mender.AuthenticationManager", "/io/mender/AuthenticationManager"))
when I run this go file got this
go run main.go
panic: The name io.mender.AuthenticationManager was not provided by any .service files
goroutine 1 [running]:
main.main()
/home/devuser/go/src/github.com/devuser/dbus-tutorial/main.go:21 +0x1b7
exit status 2
help is very much appreciated.
, If I can unblock from this step, next would to read token using dbus api