Documentation ¶
Index ¶
- func WrapEntry(entry *keepass.Entry, db t.Database) t.Entry
- func WrapGroup(group *keepass.Group, db t.Database) t.Group
- type Database
- type Entry
- func (e *Entry) CreationTime() time.Time
- func (e *Entry) ExpiredTime() time.Time
- func (e *Entry) Get(field string) (rv t.Value, present bool)
- func (e *Entry) LastAccessTime() time.Time
- func (e *Entry) LastModificationTime() time.Time
- func (e *Entry) Parent() t.Group
- func (e *Entry) Password() string
- func (e *Entry) Path() (string, error)
- func (e *Entry) Raw() interface{}
- func (e *Entry) Set(value t.Value) (updated bool)
- func (e *Entry) SetCreationTime(t time.Time)
- func (e *Entry) SetExpiredTime(t time.Time)
- func (e *Entry) SetLastAccessTime(t time.Time)
- func (e *Entry) SetLastModificationTime(t time.Time)
- func (e *Entry) SetParent(g t.Group) error
- func (e *Entry) SetPassword(password string)
- func (e *Entry) SetTitle(title string)
- func (e *Entry) SetUsername(name string)
- func (e *Entry) Title() string
- func (e *Entry) UUIDString() (string, error)
- func (e *Entry) Username() string
- func (e *Entry) Values() (vals []t.Value, err error)
- type Group
- func (g *Group) AddEntry(e t.Entry) error
- func (g *Group) AddSubgroup(subgroup t.Group) error
- func (g *Group) Entries() (rv []t.Entry)
- func (g *Group) Groups() (rv []t.Group)
- func (g *Group) IsRoot() bool
- func (g *Group) Name() string
- func (g *Group) NewEntry(name string) (t.Entry, error)
- func (g *Group) NewSubgroup(name string) (t.Group, error)
- func (g *Group) Parent() t.Group
- func (g *Group) Raw() interface{}
- func (g *Group) RemoveEntry(e t.Entry) error
- func (g *Group) RemoveSubgroup(subgroup t.Group) error
- func (g *Group) SetName(name string)
- func (g *Group) SetParent(parent t.Group) error
- func (g *Group) UUIDString() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Database ¶
func (*Database) Binary ¶
Binary returns an OptionalWrapper with Present sent to false as v1 doesn't handle binaries through the database
type Entry ¶
func (*Entry) CreationTime ¶
func (*Entry) ExpiredTime ¶
func (*Entry) LastAccessTime ¶
func (*Entry) LastModificationTime ¶
func (*Entry) SetCreationTime ¶
func (*Entry) SetExpiredTime ¶
func (*Entry) SetLastAccessTime ¶
func (*Entry) SetLastModificationTime ¶
func (*Entry) SetPassword ¶
func (*Entry) SetUsername ¶
func (*Entry) UUIDString ¶
type Group ¶
func (*Group) UUIDString ¶
Click to show internal directories.
Click to hide internal directories.