Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct { FileName string // contains filtered or unexported fields }
Database a go-hash database.
func ReadDatabase ¶
ReadDatabase reads a go-hash database.
func (*Database) Iter ¶
func (db *Database) Iter() *GroupIterator
Iter returns a GroupIterator which can be used to iterate over the groups in this database.
type Entry ¶
type Entry struct {
// contains filtered or unexported fields
}
Entry is a wrapper around a LoginInfo instance. LoginInfo cannot be exposed directly due to the gomobile tool's limitations.
type EntryIterator ¶
type EntryIterator struct { Group string // contains filtered or unexported fields }
EntryIterator allows iterating over all LoginInfo entries in a group.
func (*EntryIterator) Next ¶
func (iter *EntryIterator) Next() *Entry
Next returns the next Entry, if any, or nil if none is available.
type GroupIterator ¶
type GroupIterator struct {
// contains filtered or unexported fields
}
GroupIterator allows iterating over all groups in the database.
func (*GroupIterator) Next ¶
func (iter *GroupIterator) Next() *EntryIterator
Next returns the next EntryIterator, if any, or nil if none is available.
Click to show internal directories.
Click to hide internal directories.