some prelim work

This commit is contained in:
brent s
2021-11-21 14:25:31 -05:00
parent a6f4afe491
commit 809c6d6f97
7 changed files with 170 additions and 89 deletions

16
types.go Normal file
View File

@@ -0,0 +1,16 @@
package libsecret
import (
`github.com/godbus/dbus`
)
/*
Collection is an accessor for libsecret collections, which contain multiple Secret items.
Reference:
https://developer-old.gnome.org/libsecret/0.18/SecretCollection.html
https://specifications.freedesktop.org/secret-service/latest/ch03.html
*/
type Collection struct {
Conn *dbus.Conn
Dbus dbus.BusObject
}