Documentation
¶
Index ¶
- func GetInput(argument string) string
- func GetPassInput(argument string) []byte
- type DBStore
- func (db *DBStore) DeleteCreds(key string, encryptionKey []byte) error
- func (db *DBStore) EditCreds(key string, encryptionKey []byte) error
- func (db *DBStore) InsertIntoDB(encryptedPassword string, creds map[string]string) error
- func (db *DBStore) RetrieveCreds(query, key string, encryptionKey []byte) ([]map[string]string, error)
- func (db *DBStore) SaveCreds(encryptionKey []byte) error
- func (db *DBStore) ViewCreds(key string, encryptionKey []byte) error
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPassInput ¶
GetPassInput receives user's input securely, it makes use of the syscall library to achieve this
Types ¶
type DBStore ¶
func NewDBStore ¶
func (*DBStore) DeleteCreds ¶
func (*DBStore) InsertIntoDB ¶
func (*DBStore) RetrieveCreds ¶
func (db *DBStore) RetrieveCreds(query, key string, encryptionKey []byte) ([]map[string]string, error)
RetrieveCreds retrieves userdata from the database given respective query
Click to show internal directories.
Click to hide internal directories.