Documentation ¶
Overview ¶
password is a package for reading a password securely from a terminal. The code in this package disables echo in the terminal so that the password is not echoed back in plaintext to the user.
Index ¶
Constants ¶
View Source
const ENABLE_ECHO_INPUT = 0x0004
Magic constant from MSDN to control whether charactesr read are repeated back on the console.
http://msdn.microsoft.com/en-us/library/windows/desktop/ms686033(v=vs.85).aspx
Variables ¶
View Source
var ErrInterrupted = errors.New("interrupted")
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.