lckexp

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntryData

type EntryData struct {
	Fields          map[string]interface{} `json:"fields"`
	PasswordHistory EntryPasswordHistory   `json:"passwordHistory"`
}

type EntryPasswordHistory

type EntryPasswordHistory struct {
	Password []HistoricPassword `json:"password"`
}

type HistoricPassword

type HistoricPassword struct {
	Value     string  `json:"value"`
	Timestamp float64 `json:"timestamp"`
}

type LockoEntry

type LockoEntry struct {
	UUID     string
	Title    string
	Username string
	Password string
	Children []*LockoEntry
}

type LockoExport

type LockoExport struct {
	RootEntries []*LockoEntry
}

func ReadExport

func ReadExport(fileName string) (*LockoExport, error)

type RawEntry

type RawEntry struct {
	UUID         string    `json:"uuid"`
	Title        string    `json:"title"`
	Type         int       `json:"type"`
	SortIndex    int       `json:"sortIndex"`
	DateModified float64   `json:"dateModified"`
	DateCreated  float64   `json:"dateCreated"`
	Data         EntryData `json:"data"`
}

func (RawEntry) Password

func (e RawEntry) Password() string

func (RawEntry) Username

func (e RawEntry) Username() string

Jump to

Keyboard shortcuts

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