Help us shape the future of Go! Take the 2026 Go Developer Survey

models

package
v1.0.32 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Options        *Options
	Credentials    *gokeepasslib.DBCredentials
	CredentialFile string
}

type Diff

type Diff struct {
	ToDBOption     *Options
	FromDBOption   *Options
	Options        *Options
	OutputFilename string
}

type Interested

type Interested struct {
	Created   time.Time
	Histories int
	KeyValues map[string]string
	Modified  time.Time
	Pass      string
	Tags      string
	Title     string
	User      string
}

type Options

type Options struct {
	//diff
	BackupDIR      string
	CacheFile      string // ls
	Database       string
	Database2      string
	DiffCalling    bool
	Notify         bool
	OutputFilename string
	Pass           string
	Pass2          string

	// add entry
	EntryPass  string
	EntryTitle string
	EntryUser  string

	// ls
	Days      int
	Fields    string
	Key       string
	Key2      string
	Reverse   bool
	Sort      string
	SortbyCol int

	// common
	Config       string
	LogLevel     string
	OutputFormat string // ls,diff
	Quite        bool   // ls

	// create db
	NoKey         bool
	SampleEntries int
}

Options holds the cli options

func (*Options) String

func (o *Options) String() string

Jump to

Keyboard shortcuts

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