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

This commit is contained in:
2021-11-30 02:33:07 -05:00
parent 3cab98e584
commit 1d9145bcf2
5 changed files with 186 additions and 98 deletions

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(),
}