Documentation ¶
Overview ¶
Package terminal implements I/O operations used to get and display information to the user.
Index ¶
- Variables
- func Confirm(r io.Reader, message string) bool
- func DisplayQRCode(secret string) error
- func ScanPassword(message string, verify bool) (*memguard.Enclave, error)
- func Scanln(r *bufio.Reader, field string) string
- func Scanlns(r *bufio.Reader, field string) string
- func Ticker(done chan struct{}, hiddenCursor bool, log func())
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidPassword = errors.New("invalid password")
ErrInvalidPassword is used to identify the error received when editing an entry.
Functions ¶
func DisplayQRCode ¶
DisplayQRCode creates a qr code with the password provided and writes it to the terminal.
func ScanPassword ¶
ScanPassword returns the input password encrypted inside an Enclave.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.