model

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	Name     string `survey:"name"`
	Password string `survey:"password"`
	Hint     string `survey:"hint"`
}

type DetailItem

type DetailItem struct {
	ID         int    `json:"-"`
	Title      string `json:"title"`
	Account    string `json:"account"`
	Password   string `json:"password"`
	Comment    string `json:"comment"`
	ModifiedAt string `json:"modifiedAt"`
}

type SimpleItem

type SimpleItem struct {
	ID           int `json:"id"`
	Title        string
	IVCiphertext string // base64 encoded
}

Jump to

Keyboard shortcuts

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