Versions in this module Expand all Collapse all v0 v0.1.0 Aug 8, 2022 Changes in this version + const DBusPath + const DBusServiceName + var PrimaryKeyAttribute string = "profile" + type Collection struct + func NewCollection(conn *dbus.Conn, path dbus.ObjectPath) *Collection + func (collection *Collection) CreateItem(label string, secret *Secret, replace bool) (*Item, error) + func (collection *Collection) Delete() error + func (collection *Collection) Items() ([]Item, error) + func (collection *Collection) Locked() (bool, error) + func (collection *Collection) SearchItems(primaryKey string) ([]Item, error) + func (collection Collection) Path() dbus.ObjectPath + type DBusObject interface + Path func() dbus.ObjectPath + type Item struct + func NewItem(conn *dbus.Conn, path dbus.ObjectPath) *Item + func (item *Item) Delete() error + func (item *Item) GetSecret(session *Session) (*Secret, error) + func (item *Item) Label() (string, error) + func (item *Item) Locked() (bool, error) + func (item Item) Path() dbus.ObjectPath + type Prompt struct + func NewPrompt(conn *dbus.Conn, path dbus.ObjectPath) *Prompt + func (prompt *Prompt) Prompt() (*dbus.Variant, error) + func (prompt Prompt) Path() dbus.ObjectPath + type Secret struct + ContentType string + Parameters []byte + Session dbus.ObjectPath + Value []byte + func NewSecret(session *Session, params []byte, value []byte, contentType string) *Secret + type Service struct + func NewService() (*Service, error) + func (service *Service) Collections() ([]Collection, error) + func (service *Service) CreateCollection(label string) (*Collection, error) + func (service *Service) Lock(object DBusObject) error + func (service *Service) Open() (*Session, error) + func (service *Service) Unlock(object DBusObject) error + func (service Service) Path() dbus.ObjectPath + type Session struct + func NewSession(conn *dbus.Conn, path dbus.ObjectPath) *Session + func (session Session) Path() dbus.ObjectPath