adding some funcs for Service. still need two or three more, then Service is done (but untested).

This commit is contained in:
bts committed 2021-11-30 02:33:07 -05:00
1 parent 3cab98e584
commit 1d9145bcf2
5 files changed
+186 -98

No files matched your search

+7 -5
View File
@@ -1,10 +1,10 @@
package gosecret
import (
`strings`
`time`
"strings"
"time"
`github.com/godbus/dbus`
"github.com/godbus/dbus"
)
/*
@@ -38,8 +38,10 @@ func NewCollection(conn *dbus.Conn, path dbus.ObjectPath) (coll *Collection, err
}
coll = &Collection{
Conn: conn,
Dbus: conn.Object(DbusService, path),
DbusObject: &DbusObject{
Conn: conn,
Dbus: conn.Object(DbusService, path),
},
// lastModified: time.Now(),
}