Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AskDoublePassword ¶
AskDoublePassword will ask for a password (and confirmation) on the commandline
func AskDoublePasswordPrompt ¶
AskDoublePasswordPrompt will ask for a password (and confirmation) on the commandline, with a custom prompt
func AskMnemonicPhrase ¶
func AskMnemonicPhrase() string
AskMnemonicPhrase asks for the mnemonic phrase
func AskPassword ¶
AskPassword will ask for a password (without confirmation) on the commandline
func AskPasswordPrompt ¶
AskPasswordPrompt will prompt for a password
func StorePassword ¶
StorePassword will store the given password into the keychain if possible
Types ¶
type PasswordReader ¶
PasswordReader is an interface to read a password.
type StdInPasswordReader ¶
type StdInPasswordReader struct { }
StdInPasswordReader Default password reader from stdin
func (*StdInPasswordReader) ReadPassword ¶
func (pr *StdInPasswordReader) ReadPassword() ([]byte, error)
ReadPassword reads password from stdin
Click to show internal directories.
Click to hide internal directories.