package
0.0.0-20211124113024-544ea0f85492
Repository: https://github.com/dgiampouris/taskcli.git
Documentation: pkg.go.dev

# Functions

AddTask accepts a string and stores it into an existing boltdb database.
dbDecrypt decrypts the file where the boltdb database is located.
dbEncrypt encrypts the file where the boltdb database exists.
DeleteTask deletes a task based on the index number provided.
HashPassword returns a byte slice of the sha256 hash created from the password inputed by the user.
ListTasks iterates over all the keys and values within the boltdb database and prints each key and each value.
ReadPassword receives the inputed user password from wrapPasswordReader.
SetPaths sets the default paths to store the db and the secret key.

# Structs

DB represents an abstraction over a db type.
No description provided by the author
StdInPasswordReader represents an stdin password reader.

# Interfaces

DataEncrypt contains the required methods for encryption and decryption.
PasswordReader returns password read from a reader.