bmark

package
v0.0.0-...-8aec175 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bookmark

type Bookmark struct {
	Url      string `json:"url"`
	Username string `json:"username"`
	Length   int    `json:"length"`
}

func (Bookmark) GenPassword

func (b Bookmark) GenPassword(secret []byte) string

type Bookmarks

type Bookmarks []Bookmark

func LoadFromFile

func LoadFromFile(filePath string) (bmarks Bookmarks, err error)

func (Bookmarks) Filter

func (bmarks Bookmarks) Filter(filter string) (out Bookmarks)

func (Bookmarks) Get

func (bmarks Bookmarks) Get(user string, site string) (*Bookmark, error)

func (Bookmarks) String

func (bmarks Bookmarks) String() (out string)

Jump to

Keyboard shortcuts

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