Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // StdinOverride can be set in tests to inject password inputs. StdinOverride io.Reader // StderrOverride can be set in tests to capture prompt output. StderrOverride io.Writer )
Functions ¶
func PromptPassword ¶
PromptPassword prompts the user for a password on stderr and reads the password. If running in an interactive terminal, characters typed are masked/hidden.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.