kdbx

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const PATH_SEPARATOR = "/"
View Source
const TITLE_KEY = "Title"

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	gokeepasslib.Database
	// contains filtered or unexported fields
}

func New

func New(filepath, password, keypath string) (*Database, error)

func (*Database) GetEntry

func (d *Database) GetEntry(uuid gokeepasslib.UUID) *Entry

func (*Database) GetEntryPaths

func (d *Database) GetEntryPaths() []EntryPath

func (*Database) GetFirstEntryByPath

func (d *Database) GetFirstEntryByPath(p EntryPath) *Entry

Returns the first entry matching the entry path provided. Note that the path might not be unique. Use the UUID method when identifying a precise entry is necessary

func (*Database) Save

func (d *Database) Save() error

func (*Database) UnlockWithPasswordAndKey

func (d *Database) UnlockWithPasswordAndKey(password, keypath string) error

type Entry

type Entry = gokeepasslib.Entry

type EntryField

type EntryField = gokeepasslib.ValueData

type EntryPath

type EntryPath = string

A string like "/Database/Group/EntryName"

type UUID

type UUID = gokeepasslib.UUID

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL