pwmgr

package
v2.1.7 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: MIT Imports: 0 Imported by: 0

README

goutils/v2/pwmgr

The pwmgr package is a collection of utility functions designed to simplify common pwmgr tasks.


Table of contents


Functions

Installation

To use the goutils/v2/pwmgr package, you first need to install it. Follow the steps below to install via go get.

go get github.com/l50/goutils/v2/pwmgr

Usage

After installation, you can import the package in your Go project using the following import statement:

import "github.com/l50/goutils/v2/pwmgr"

Tests

To ensure the package is working correctly, run the following command to execute the tests for goutils/v2/pwmgr:

go test -v

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.


License

This project is licensed under the MIT License - see the LICENSE file for details.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PasswordManager

type PasswordManager interface {
	IsInstalled() bool
	IsLoggedIn() bool
	RetrieveRecord(uid string) (Record, error)
	SearchRecords(searchTerm string) (string, error)
	AddRecord(fields map[string]string) error
}

PasswordManager represents a password manager.

type Record

type Record struct {
	UID      string
	Title    string
	URL      string
	Username string
	Password string
	TOTP     string
	Note     string
}

Record represents a record in a password manager.

**Attributes:**

UID: A unique identifier. Title: Title of the record. URL: The associated URL of the record. Username: The username associated with the record. Password: The password associated with the record. TOTP: Time-based One-Time Password. Note: Additional note associated with the record.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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